Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= pcsc-lite
  5. PKG_VERSION:= 1.7.4
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 1caf0b8ca2ecbf82fe3b035b3fff22dd
  8. PKG_DESCR:= middleware for smartcards
  9. PKG_SECTION:= app/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://openadk.org/distfiles/
  14. PKG_OPTS:= dev
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  16. include $(ADK_TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,PCSC_LITE,pcsc-lite,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  18. CONFIGURE_ARGS+= --disable-libudev
  19. pcsc-lite-install:
  20. $(INSTALL_DIR) $(IDIR_PCSC_LITE)/etc/reader.conf.d
  21. $(INSTALL_DIR) $(IDIR_PCSC_LITE)/usr/sbin
  22. $(INSTALL_DIR) $(IDIR_PCSC_LITE)/usr/lib
  23. $(INSTALL_BIN) $(WRKINST)/usr/sbin/pcscd \
  24. $(IDIR_PCSC_LITE)/usr/sbin
  25. $(CP) $(WRKINST)/usr/lib/libpcsclite.so* \
  26. $(IDIR_PCSC_LITE)/usr/lib
  27. include ${ADK_TOPDIR}/mk/pkg-bottom.mk