summaryrefslogtreecommitdiff
path: root/murasaki/murasaki_0.7.10.oe
blob: 0d75c38117d62fe0ecea214b34cbc3116b45a733 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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/0.7/10/murasaki-${PV}.tar.gz \
	  file://${FILESDIR}/install.patch;patch=1
EXTRA_OEMAKE = -e

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
}