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 $(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. PKG_ARCH_DEPENDS:= !avr32
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,CCID,ccid,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
  18. CONFIGURE_ARGS+= --enable-twinserial
  19. ccid-install:
  20. $(INSTALL_DIR) $(IDIR_CCID)/etc/reader.conf.d
  21. $(INSTALL_DIR) $(IDIR_CCID)/usr/lib/pcsc/drivers
  22. $(INSTALL_DATA) ./files/gemalto.conf \
  23. $(IDIR_CCID)/etc/reader.conf.d
  24. $(CP) $(WRKINST)/usr/lib/pcsc/drivers/* \
  25. $(IDIR_CCID)/usr/lib/pcsc/drivers
  26. include ${TOPDIR}/mk/pkg-bottom.mk