summaryrefslogtreecommitdiff
path: root/murasaki/murasaki_0.7.10.oe
blob: e8cfa1b0449962ad9e60f01289a326a32ce5a103 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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://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
}