summaryrefslogtreecommitdiff
path: root/packages/murasaki/murasaki_0.8.8.bb
blob: 5a46db0cba3e7dafc58d023f3eef378846ae9c86 (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."
LICENSE = "GPL"
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}${base_sbindir} ${D}${sysconfdir}/${PN} \
		   ${D}${sysconfdir}/init.d
	oe_runmake install 'BIN_DIR=${D}${base_sbindir}' 'CONF_DIR=${D}${sysconfdir}/${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'
}