summaryrefslogtreecommitdiff
path: root/murasaki/murasaki_0.7.10.oe
blob: 4d7db02117ada75e46ffe643beba97af83ca5ef1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
DEPENDS = "virtual/libc"
DESCRIPTION = "Murasaki automatically loads and unloads modules for \
USB, Cardbus, and other hot-pluggable devices using the new Hotplug \
feature in Linux 2.4."

SRC_URI = "http://www.dotaster.com/~shuu/linux/murasaki/${PV}/murasaki-${PV}.tar.gz \
	   file://${FILESDIR}/install.patch;patch=1"

do_compile () {
	unset CFLAGS
	oe_runmake 'OPT=' 'DEBUG=' 'INC=-I ../inc ${CFLAGS}'
}

do_install () {
	install -d ${D}/sbin ${D}/etc/${PN} \
		   ${D}/${sysconfdir}/init.d
	oe_runmake 'BIN_DIR=${D}/sbin' 'CONF_DIR=${D}/etc/${PN}' \
		   'RC_DIR=${D}/${sysconfdir}/rc.d' \
		   'RC_INIT_DIR=${D}/${sysconfdir}/init.d' \
		   install
}