summaryrefslogtreecommitdiff
path: root/pcmcia-cs/pcmcia-cs_3.2.7.oe
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-02-28 22:32:34 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-02-28 22:32:34 +0000
commit3b6529654785f6f7bb8cf63e87c79b68a3d0de66 (patch)
tree81827dceb691abfab7e19de41ba3d23b4859abd8 /pcmcia-cs/pcmcia-cs_3.2.7.oe
parent011fb5200bf2c79b97b1a0233b6b8e2eda296304 (diff)
install initscript for pcmcia-cs
BKrev: 40411702uaJ5zLOtScKPNxfSAsXNtQ
Diffstat (limited to 'pcmcia-cs/pcmcia-cs_3.2.7.oe')
-rw-r--r--pcmcia-cs/pcmcia-cs_3.2.7.oe29
1 files changed, 29 insertions, 0 deletions
diff --git a/pcmcia-cs/pcmcia-cs_3.2.7.oe b/pcmcia-cs/pcmcia-cs_3.2.7.oe
index e69de29bb2..5d168ee672 100644
--- a/pcmcia-cs/pcmcia-cs_3.2.7.oe
+++ b/pcmcia-cs/pcmcia-cs_3.2.7.oe
@@ -0,0 +1,29 @@
+DESCRIPTION="Card Services for Linux is a complete PCMCIA support package."
+SECTION="base"
+PRIORITY="optional"
+LICENSE="GPL"
+RDEPENDS=modutils psmisc
+
+SRC_URI = http://pcmcia-cs.sourceforge.net/ftp/${P}.tar.gz
+
+inherit module
+
+do_configure() {
+ ./Configure --kernel="${KERNEL_SOURCE}" --noprompt --sysv --nopnp --rcdir=/etc --arch="${ARCH}" \
+ --srctree --nocardbus --ucc="${CC}" --ld="${LD}" --uflags="${CFLAGS}" --target=.
+ chmod ug+rw /etc/*
+ oe_runmake HAS_XPM= FLIBS="" XMANDIR="" DIRS="cardmgr etc flash"
+}
+
+do_install() {
+ install -d ${D}/${sbindir}/
+ for f in cardmgr/cardctl cardmgr/cardmgr cardmgr/ide_info cardmgr/ifport cardmgr/ifuser cardmgr/pcinitrd flash/ftl_check flash/ftl_format
+ do
+ install -m 0755 ${f} ${D}/${sbindir}/
+ done
+ install -d ${D}/${sysconfdir}/{init.d,pcmcia}
+ cp -a etc/* ${D}/${sysconfdir}/pcmcia/
+ install -m 0755 etc/rc.pcmcia ${D}/${sysconfdir}/init.d/pcmcia
+}
+
+FILES_${PN}=${sbindir} ${sysconfdir}