summaryrefslogtreecommitdiff
path: root/packages/pcsc-lite/pcsc-lite_1.4.102.bb
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2008-10-19 20:36:04 +0100
committerPhil Blundell <philb@gnu.org>2008-10-19 20:36:04 +0100
commitd33e6a9f1ed27003002b274740716fc74dff129d (patch)
tree17c87240e92efb05bac9f6f38b09bf453048717f /packages/pcsc-lite/pcsc-lite_1.4.102.bb
parent9f36d760101aa3497538fe433d01e793e91c7776 (diff)
parent9c43a5581abc04ece4b090a2bb91fa86302bbdf6 (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
Diffstat (limited to 'packages/pcsc-lite/pcsc-lite_1.4.102.bb')
-rw-r--r--packages/pcsc-lite/pcsc-lite_1.4.102.bb35
1 files changed, 35 insertions, 0 deletions
diff --git a/packages/pcsc-lite/pcsc-lite_1.4.102.bb b/packages/pcsc-lite/pcsc-lite_1.4.102.bb
new file mode 100644
index 0000000000..6d5bb44113
--- /dev/null
+++ b/packages/pcsc-lite/pcsc-lite_1.4.102.bb
@@ -0,0 +1,35 @@
+DESCRIPTION = "PC/SC Lite smart card framework and applications"
+HOMEPAGE = "http://pcsclite.alioth.debian.org/"
+LICENSE = "BSD"
+FILE_PR = "r0"
+
+DEPENDS = "hal"
+RDEPENDS_${PN} = "hal"
+
+SRC_URI = "http://alioth.debian.org/download.php/2479/pcsc-lite-${PV}.tar.bz2 \
+ file://pcscd.init "
+
+inherit autotools update-rc.d
+
+INITSCRIPT_NAME = "pcscd"
+INITSCRIPT_PARAMS = "defaults"
+
+EXTRA_OECONF = " \
+ --enable-libhal \
+ --disable-libusb \
+ --enable-usbdropdir=${libdir}/pcsc/drivers \
+ "
+
+do_stage() {
+ autotools_stage_all
+}
+
+do_install() {
+ oe_runmake DESTDIR="${D}" install
+ install -d "${D}/etc/init.d"
+ install -m 755 "${WORKDIR}/pcscd.init" "${D}/etc/init.d/pcscd"
+}
+
+PACKAGES =+ "libpcsclite"
+
+FILES_libpcsclite = "${libdir}/libpcsclite.so.*"