Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132
  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:= ccid
  5. PKG_VERSION:= 1.4.17
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= ccdab8a9bc1ad288242d5f9ef399405e9cb96fb09caadb43e3649cbaba84c451
  8. PKG_DESCR:= generic usb ccid and iccd driver
  9. PKG_SECTION:= app/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 $(ADK_TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,CCID,ccid,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ARGS+= --enable-twinserial
  17. ccid-install:
  18. $(INSTALL_DIR) $(IDIR_CCID)/etc/reader.conf.d
  19. $(INSTALL_DIR) $(IDIR_CCID)/usr/lib/pcsc/drivers
  20. $(INSTALL_DATA) ./files/gemalto.conf \
  21. $(IDIR_CCID)/etc/reader.conf.d
  22. $(CP) $(WRKINST)/usr/lib/pcsc/drivers/* \
  23. $(IDIR_CCID)/usr/lib/pcsc/drivers
  24. include ${ADK_TOPDIR}/mk/pkg-bottom.mk