Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= pcsc-lite
  5. PKG_VERSION:= 1.6.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= fc3fd0e83090ecc81e5b32700fa246c2
  8. PKG_DESCR:= middleware for smartcards
  9. PKG_SECTION:= crypto
  10. PKG_DEPENDS:= libusb libusb-compat libpthread ccid
  11. PKG_BUILDDEP:= libusb libusb-compat
  12. PKG_URL:= http://pcsclite.alioth.debian.org/
  13. PKG_SITES:= https://alioth.debian.org/frs/download.php/3279/
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,PCSC_LITE,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_ARGS+= --disable-libhal
  18. post-install:
  19. $(INSTALL_DIR) $(IDIR_PCSC_LITE)/etc
  20. $(INSTALL_DIR) $(IDIR_PCSC_LITE)/usr/sbin
  21. $(INSTALL_DIR) $(IDIR_PCSC_LITE)/usr/lib
  22. $(INSTALL_DATA) ./files/reader.conf \
  23. $(IDIR_PCSC_LITE)/etc
  24. $(INSTALL_BIN) $(WRKINST)/usr/sbin/pcscd \
  25. $(IDIR_PCSC_LITE)/usr/sbin
  26. $(CP) $(WRKINST)/usr/lib/libpcsclite.so* \
  27. $(IDIR_PCSC_LITE)/usr/lib
  28. include ${TOPDIR}/mk/pkg-bottom.mk