summaryrefslogtreecommitdiff
path: root/packages/pcmciautils
diff options
context:
space:
mode:
authorccsmart <ccsmart@smartpal.de>2005-07-09 16:29:38 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-09 16:29:38 +0000
commit965b805b451106d6a5e41e0fe8fb3847b4dddd29 (patch)
tree418d03e54bd5490b8fc3ffc7da3a61c7be6f2347 /packages/pcmciautils
parentce85bae0ffbca430dd50976c0b5397b3a822b6f7 (diff)
parentb10227fbeee14a88de96acaa9b4e3f3042de5b30 (diff)
merge of 741270052fa677010603209da3adb0f5194af3ef
and 8b65cbd401e1f926a05aed4038504520748a6824
Diffstat (limited to 'packages/pcmciautils')
-rw-r--r--packages/pcmciautils/pcmciautils_005.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/pcmciautils/pcmciautils_005.bb b/packages/pcmciautils/pcmciautils_005.bb
new file mode 100644
index 0000000000..ad8cf7e2f4
--- /dev/null
+++ b/packages/pcmciautils/pcmciautils_005.bb
@@ -0,0 +1,29 @@
+DESCRIPTION = "2.6 pcmcia utilities"
+DEPENDS = "sysfsutils"
+SECTION = "kernel/userland"
+PRIORITY = "optional"
+
+SRC_URI = "http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmciautils-${PV}.tar.bz2"
+S = "${WORKDIR}/pcmciautils-${PV}"
+
+inherit update-rc.d
+
+INITSCRIPT_NAME = "coldplug"
+INITSCRIPT_PARAMS = "defaults"
+
+export HOSTCC = "${BUILD_CC}"
+export etcdir = "${sysconfdir}"
+export hotplugdir = "${sysconfdir}/hotplug"
+export pcmciaconfdir = "${sysconfdir}/pcmcia"
+LD = "${CC}"
+CFLAGS =+ "-I${S}/src"
+
+PARALLEL_MAKE = ""
+EXTRA_OEMAKE = "-e 'STRIP=echo' 'LIB_OBJS=-lc -lsysfs'"
+
+do_install () {
+ oe_runmake 'DESTDIR=${D}' install
+}
+
+CONFFILES_${PN} += "${sysconfdir}/pcmcia/config.opts"
+RCONFLICTS_${PN} += "pcmcia-cs"