summaryrefslogtreecommitdiff
path: root/package/pcsc-lite/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-06-07 12:34:57 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-06-07 12:34:57 +0200
commitd22b78be7b2b95ba028c6584e9ee5abb69a375cb (patch)
tree039da0ef61265cda4512279d36aea46c4670a715 /package/pcsc-lite/Makefile
parent702e216210d58f1301c80d4e55af5d29f813eb19 (diff)
parent2e2eee9052d2c487d7114818ca446c370dba7f49 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/pcsc-lite/Makefile')
-rw-r--r--package/pcsc-lite/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/package/pcsc-lite/Makefile b/package/pcsc-lite/Makefile
new file mode 100644
index 000000000..b81a64d27
--- /dev/null
+++ b/package/pcsc-lite/Makefile
@@ -0,0 +1,36 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= pcsc-lite
+PKG_VERSION:= 1.6.0
+PKG_RELEASE:= 1
+PKG_MD5SUM:= fc3fd0e83090ecc81e5b32700fa246c2
+PKG_DESCR:= middleware for smartcards
+PKG_SECTION:= security
+PKG_BUILDDEP+= libusb libusb-compat
+PKG_DEPENDS:= libusb libusb-compat libpthread ccid
+PKG_URL:= http://pcsclite.alioth.debian.org/
+PKG_SITES:= https://alioth.debian.org/frs/download.php/3279/
+
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,PCSC_LITE,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIGURE_ARGS+= --disable-libhal
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_PCSC_LITE)/etc
+ $(INSTALL_DIR) $(IDIR_PCSC_LITE)/usr/sbin
+ $(INSTALL_DIR) $(IDIR_PCSC_LITE)/usr/lib
+ $(INSTALL_DATA) ./files/reader.conf \
+ $(IDIR_PCSC_LITE)/etc
+ $(INSTALL_BIN) $(WRKINST)/usr/sbin/pcscd \
+ $(IDIR_PCSC_LITE)/usr/sbin
+ $(CP) $(WRKINST)/usr/lib/libpcsclite.so* \
+ $(IDIR_PCSC_LITE)/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk