Makefile 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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.6
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= f80d3ecd9569b71d557f283f16295c74
  8. PKG_DESCR:= middleware for smartcards
  9. PKG_SECTION:= crypto
  10. PKG_DEPENDS:= libusb libusb-compat libpthread
  11. PKG_BUILDDEP:= libusb libusb-compat
  12. PKG_URL:= http://pcsclite.alioth.debian.org/
  13. PKG_SITES:= http://alioth.debian.org/frs/download.php/3479/
  14. PKG_SUBPKGS:= PCSC_LITE PCSC_LITE_DEV
  15. PKGSD_PCSC_LITE_DEV:= header files for pcsc-lite
  16. PKGSC_PCSC_LITE_DEV:= devel
  17. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  18. include $(TOPDIR)/mk/package.mk
  19. $(eval $(call PKG_template,PCSC_LITE,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  20. $(eval $(call PKG_template,PCSC_LITE_DEV,$(PKG_NAME)-dev,$(PKG_VERSION)-${PKG_RELEASE},,${PKGSD_PCSC_LITE_DEV},${PKGSC_PCSC_LITE_DEV}))
  21. CONFIGURE_ARGS+= --disable-libhal
  22. post-install:
  23. $(INSTALL_DIR) $(IDIR_PCSC_LITE)/etc/reader.conf.d
  24. $(INSTALL_DIR) $(IDIR_PCSC_LITE)/usr/sbin
  25. $(INSTALL_DIR) $(IDIR_PCSC_LITE)/usr/lib
  26. $(INSTALL_BIN) $(WRKINST)/usr/sbin/pcscd \
  27. $(IDIR_PCSC_LITE)/usr/sbin
  28. $(CP) $(WRKINST)/usr/lib/libpcsclite.so* \
  29. $(IDIR_PCSC_LITE)/usr/lib
  30. pcsc-lite-dev-install:
  31. ${INSTALL_DIR} ${IDIR_PCSC_LITE_DEV}/usr/include
  32. ${CP} ${WRKINST}/usr/include/* ${IDIR_PCSC_LITE_DEV}/usr/include
  33. include ${TOPDIR}/mk/pkg-bottom.mk