0d75c38117d62fe0ecea214b34cbc3116b45a733
[vuplus_openembedded] / murasaki / murasaki_0.7.10.oe
1 DEPENDS = "virtual/libc"
2 RDEPENDS = "libc6"
3 DESCRIPTION = "Murasaki automatically loads and unloads modules for \
4 USB, Cardbus, and other hot-pluggable devices using the new Hotplug \
5 feature in Linux 2.4."
6
7 SRC_URI = http://www.dotaster.com/~shuu/linux/murasaki/0.7/10/murasaki-${PV}.tar.gz \
8           file://${FILESDIR}/install.patch;patch=1
9 EXTRA_OEMAKE = -e
10
11 do_compile () {
12         unset CFLAGS
13         oe_runmake 'OPT=' 'DEBUG=' 'INC=-I ../inc ${CFLAGS}'
14 }
15
16 do_install () {
17         install -d ${D}/sbin ${D}/etc/${PN} \
18                    ${D}/${sysconfdir}/init.d
19         oe_runmake 'BIN_DIR=${D}/sbin' 'CONF_DIR=${D}/etc/${PN}' \
20                    'RC_DIR=${D}/${sysconfdir}/rc.d' \
21                    'RC_INIT_DIR=${D}/${sysconfdir}/init.d' \
22                    install
23 }