From 4b46c1f6e891b1ddd5968536440b888661fade3e Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 31 Aug 2005 10:45:47 +0000 Subject: Initial population git-svn-id: https://svn.o-hand.com/repos/poky@1 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- openembedded/packages/pcmcia-cs/pcmcia-cs_3.2.8.bb | 100 +++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 openembedded/packages/pcmcia-cs/pcmcia-cs_3.2.8.bb (limited to 'openembedded/packages/pcmcia-cs/pcmcia-cs_3.2.8.bb') diff --git a/openembedded/packages/pcmcia-cs/pcmcia-cs_3.2.8.bb b/openembedded/packages/pcmcia-cs/pcmcia-cs_3.2.8.bb new file mode 100644 index 0000000000..2aa41a6c32 --- /dev/null +++ b/openembedded/packages/pcmcia-cs/pcmcia-cs_3.2.8.bb @@ -0,0 +1,100 @@ +DESCRIPTION = "Utilities and system configuration files for the Linux PCMCIA card services" +SECTION = "base" +PRIORITY = "required" +LICENSE = "GPL" +DEPENDS = "virtual/kernel" +PR = "r19" + +SRC_URI = "${SOURCEFORGE_MIRROR}/pcmcia-cs/pcmcia-cs-${PV}.tar.gz \ + file://busybox.patch;patch=1 \ + file://network.patch;patch=1 \ + file://pcic-extra.patch;patch=1 \ + file://automount.patch;patch=1 \ + file://ratoc-cfu1u.patch;patch=1 \ + file://pcmcia \ + file://ide.opts \ + file://wireless.opts \ + file://network.conf \ + file://wnv.conf" + +SRC_URI_append_spitz = " file://nocleanup.patch;patch=1" +S = "${WORKDIR}/pcmcia-cs-${PV}" + +INITSCRIPT_NAME = "pcmcia" +INITSCRIPT_PARAMS = "defaults" + +inherit update-rc.d module-base + +export KERNEL_SOURCE = ${@base_read_file('${STAGING_KERNEL_DIR}/kernel-source')} + +sbindir = "/sbin" + +do_configure() { + touch .prereq.ok + touch config.out + cat >config.mk <include/pcmcia/autoconf.h <> ${D}${sysconfdir}/pcmcia/config.opts + + install -m 0644 ${WORKDIR}/ide.opts ${D}${sysconfdir}/pcmcia/ + install -m 0644 ${WORKDIR}/wireless.opts ${D}${sysconfdir}/pcmcia/ + 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 + install -d ${D}${sysconfdir}/sysconfig + install -m 0755 ${WORKDIR}/pcmcia ${D}${sysconfdir}/sysconfig/pcmcia +} + +PACKAGES =+ "${PN}-ftl ${PN}-pcinitrd" + +FILES_${PN} = "${sbindir} ${sysconfdir}" +FILES_${PN}-ftl = "/sbin/ftl_format /sbin/ftl_check /etc/pcmcia/ftl*" +FILES_${PN}-pcinitrd = "/sbin/pcinitrd" + -- cgit v1.2.3