aboutsummaryrefslogtreecommitdiff
path: root/recipes/murasaki/murasaki_0.8.8.bb
blob: 2b68c2bd649dc65d540dd3e481e5ca4263107308 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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"
HOMEPAGE = "http://zuckin.com/old/linux/murasaki/index_ja.html"
SRC_URI = "http://www.openzaurus.org/download/3.5.4/sources/murasaki-${PV}.tar.gz \
	   file://fix-compile.patch"

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'
}

SRC_URI[md5sum] = "ea7afa7e0bd9cfa0df7c04a9b270df88"
SRC_URI[sha256sum] = "2033168723ffd612336acb8a64b33fcd91f7dedeaf78949d3dfce231cb962ce9"