Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  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.7.4
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 1caf0b8ca2ecbf82fe3b035b3fff22dd
  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/file/3598/
  14. PKG_OPTS:= dev
  15. PKG_ARCH_DEPENDS:= !avr32
  16. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  17. include $(TOPDIR)/mk/package.mk
  18. $(eval $(call PKG_template,PCSC_LITE,pcsc-lite,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  19. CONFIGURE_ARGS+= --disable-libudev
  20. pcsc-lite-install:
  21. $(INSTALL_DIR) $(IDIR_PCSC_LITE)/etc/reader.conf.d
  22. $(INSTALL_DIR) $(IDIR_PCSC_LITE)/usr/sbin
  23. $(INSTALL_DIR) $(IDIR_PCSC_LITE)/usr/lib
  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