summaryrefslogtreecommitdiff
path: root/packages/murasaki
diff options
context:
space:
mode:
Diffstat (limited to 'packages/murasaki')
-rw-r--r--packages/murasaki/murasaki_0.8.8.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/murasaki/murasaki_0.8.8.bb b/packages/murasaki/murasaki_0.8.8.bb
index e69de29bb2..36edad880b 100644
--- a/packages/murasaki/murasaki_0.8.8.bb
+++ b/packages/murasaki/murasaki_0.8.8.bb
@@ -0,0 +1,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}/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'
+}