summaryrefslogtreecommitdiff
path: root/murasaki/murasaki_0.7.10.oe
blob: 6bf979f0f990c0cc44ccc43cdf4811b226ba5ce5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DEPENDS = "virtual/libc"
RDEPENDS = "libc6"
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
}