6bf979f0f990c0cc44ccc43cdf4811b226ba5ce5
[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/${PV}/murasaki-${PV}.tar.gz \
8            file://${FILESDIR}/install.patch;patch=1"
9
10 do_compile () {
11         unset CFLAGS
12         oe_runmake 'OPT=' 'DEBUG=' 'INC=-I ../inc ${CFLAGS}'
13 }
14
15 do_install () {
16         install -d ${D}/sbin ${D}/etc/${PN} \
17                    ${D}/${sysconfdir}/init.d
18         oe_runmake 'BIN_DIR=${D}/sbin' 'CONF_DIR=${D}/etc/${PN}' \
19                    'RC_DIR=${D}/${sysconfdir}/rc.d' \
20                    'RC_INIT_DIR=${D}/${sysconfdir}/init.d' \
21                    install
22 }