summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-06-27 20:15:08 +0000
committerPhil Blundell <philb@gnu.org>2004-06-27 20:15:08 +0000
commitf3ca6c60b7b544ad1593bb15105e70008480a757 (patch)
treef6acd9a8d6d2c3a99cae83f9a79c9458be95428f
parentedc51de29c201cfe8b0033a314517d68720a64a3 (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into dixie.nexus.co.uk:/home/pb/oe/oe-packages 2004/06/27 21:12:58+01:00 nexus.co.uk!pb avoid installing unnecessary cruft into /etc/pcmcia BKrev: 40df2accX1SuD0TA8dNWMWwli3Y6gQ
-rw-r--r--pcmcia-cs/pcmcia-cs_3.2.7.oe17
1 files changed, 15 insertions, 2 deletions
diff --git a/pcmcia-cs/pcmcia-cs_3.2.7.oe b/pcmcia-cs/pcmcia-cs_3.2.7.oe
index 0306e78743..24af162e81 100644
--- a/pcmcia-cs/pcmcia-cs_3.2.7.oe
+++ b/pcmcia-cs/pcmcia-cs_3.2.7.oe
@@ -3,6 +3,7 @@ SECTION = "base"
PRIORITY = "required"
LICENSE = "GPL"
DEPENDS = "virtual/kernel"
+PR = "r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/pcmcia-cs/pcmcia-cs-${PV}.tar.gz"
S = "${WORKDIR}/pcmcia-cs-${PV}"
@@ -42,6 +43,9 @@ do_compile() {
oe_runmake all HAS_XPM= FLIBS="" XMANDIR=""
}
+INSTALL_ETC = "ftl ide ieee1394 memory network parport scsi serial wireless"
+INSTALL_ETC_DATA = "config config.opts ftl.opts ide.opts ieee1394.opts memory.opts network.opts parport.opts scsi.opts serial.opts shared wireless.opts"
+
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
@@ -49,8 +53,17 @@ do_install() {
install -m 0755 $f ${D}/${sbindir}/
done
install -d ${D}/${sysconfdir}/init.d \
- ${D}/${sysconfdir}/pcmcia
- cp -a etc/* ${D}/${sysconfdir}/pcmcia/
+ ${D}/${sysconfdir}/pcmcia \
+ ${D}/${sysconfdir}/pcmcia/cis
+ for i in ${INSTALL_ETC}; do
+ install etc/${i} ${D}/${sysconfdir}/pcmcia/
+ done
+ for i in ${INSTALL_ETC_DATA}; do
+ install -m 0644 etc/${i} ${D}/${sysconfdir}/pcmcia/
+ done
+ for i in etc/cis/*; do
+ install -m 0644 $i ${D}/${sysconfdir}/pcmcia/cis/
+ done
install -m 0755 etc/rc.pcmcia ${D}/${sysconfdir}/init.d/pcmcia
}