summaryrefslogtreecommitdiff
path: root/murasaki/murasaki_0.8.8.oe
blob: 36966053b9337472e12d144c5b8dbca6289f807c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
SECTION = "unknown"
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.8/8/murasaki-${PV}.tar.gz \
	   file://fix-compile.patch;patch=1"

EXTRA_OEMAKE = 'OPT="-DPATH_MAX" DEBUG= INC="-I ../inc ${CFLAGS}"'

do_install () {
	install -d ${D}/sbin ${D}/etc/${PN} \
		   ${D}/${sysconfdir}/init.d
	oe_runmake install 'BIN_DIR=${D}/sbin' 'CONF_DIR=${D}/etc/${PN}' \
		   'RC_DIR=${D}/${sysconfdir}/rc.d' \
		   'RC_INIT_DIR=${D}/${sysconfdir}/init.d' \
		   'INST_SCRIPT_DIR=${D}/${sysconfdir}/murasaki' \
		   'INST_FIRMWARE_DIR=${D}/${sysconfdir}/firmware'
}