Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233
  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:= ccid
  5. PKG_VERSION:= 1.4.4
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 79ef91103bcdd99a3b31cb5c5721a829
  8. PKG_DESCR:= a generic USB CCID and ICCD driver
  9. PKG_SECTION:= crypto
  10. PKG_BUILDDEP:= pcsc-lite
  11. PKG_URL:= http://pcsclite.alioth.debian.org/ccid.html
  12. PKG_SITES:= http://openadk.org/distfiles/
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,CCID,ccid,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
  17. CONFIGURE_ARGS+= --enable-twinserial
  18. ccid-install:
  19. $(INSTALL_DIR) $(IDIR_CCID)/etc/reader.conf.d
  20. $(INSTALL_DIR) $(IDIR_CCID)/usr/lib/pcsc/drivers
  21. $(INSTALL_DATA) ./files/gemalto.conf \
  22. $(IDIR_CCID)/etc/reader.conf.d
  23. $(CP) $(WRKINST)/usr/lib/pcsc/drivers/* \
  24. $(IDIR_CCID)/usr/lib/pcsc/drivers
  25. include ${TOPDIR}/mk/pkg-bottom.mk