diff options
author | Michael Lauer <mickey@vanille-media.de> | 2004-05-18 19:42:00 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2004-05-18 19:42:00 +0000 |
commit | 90c12c5b138ec5e9dd94f6b1ace79f26c13a5438 (patch) | |
tree | b058547347d69da647f0258504c1f191e46950a1 /pcmcia-cs/pcmcia-cs_3.2.7.oe | |
parent | 3c19ed8150fc5961fcade07607755d83e29ad09d (diff) |
Note to self: Think before pointlessly renaming stuff
BKrev: 40aa6708dpUnOCALFGYQBmCc8X3x6Q
Diffstat (limited to 'pcmcia-cs/pcmcia-cs_3.2.7.oe')
-rw-r--r-- | pcmcia-cs/pcmcia-cs_3.2.7.oe | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/pcmcia-cs/pcmcia-cs_3.2.7.oe b/pcmcia-cs/pcmcia-cs_3.2.7.oe new file mode 100644 index 0000000000..7f4ad80d6e --- /dev/null +++ b/pcmcia-cs/pcmcia-cs_3.2.7.oe @@ -0,0 +1,30 @@ +DESCRIPTION = "Utilities and system configuration files for the Linux PCMCIA card services" +SECTION = "base" +PRIORITY = "required" +LICENSE = "GPL" +DEPENDS = "virtual/kernel" + +SRC_URI = "http://pcmcia-cs.sourceforge.net/ftp/pcmcia-cs-${PV}.tar.gz" +S = "${WORKDIR}/pcmcia-cs-${PV}" + +export KERNEL_SOURCE = ${@base_read_file('${STAGING_DIR}/${HOST_SYS}/kernel/kernel-source')} + +do_configure() { + ./Configure --noprompt --sysv --nopnp --rcdir=${sysconfdir} --arch="${ARCH}" --kernel="${KERNEL_SOURCE}" \ + --srctree --nocardbus --ucc="${CC}" --ld="${LD}" --uflags="${CFLAGS}" --target=. + oe_runmake all HAS_XPM= FLIBS="" XMANDIR="" +} + +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 \ + ${D}/${sysconfdir}/pcmcia + cp -a etc/* ${D}/${sysconfdir}/pcmcia/ + install -m 0755 etc/rc.pcmcia ${D}/${sysconfdir}/init.d/pcmcia +} + +FILES_${PN} = "${sbindir} ${sysconfdir}" |