Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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:= openct
  5. PKG_VERSION:= 0.6.16
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= d8d8c63269985303a303a218c4b953d7
  8. PKG_DESCR:= drivers for several smart card readers
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libltdl libusb
  11. PKG_URL:= http://www.opensc-project.org/openct
  12. PKG_SITES:= http://www.opensc-project.org/files/openct/
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,OPENCT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_STYLE:= gnu
  16. BUILD_STYLE:= auto
  17. INSTALL_STYLE:= auto
  18. post-install:
  19. ${INSTALL_DIR} ${IDIR_OPENCT}/etc ${IDIR_OPENCT}/usr/bin
  20. ${INSTALL_DIR} ${IDIR_OPENCT}/usr/sbin ${IDIR_OPENCT}/usr/lib
  21. ${CP} ${WRKINST}/usr/lib/libopenct.so.* \
  22. ${IDIR_OPENCT}/usr/lib
  23. ${INSTALL_BIN} ${WRKINST}/usr/sbin/openct-control \
  24. ${IDIR_OPENCT}/usr/sbin
  25. ${INSTALL_BIN} ${WRKINST}/usr/sbin/ifd* \
  26. ${IDIR_OPENCT}/usr/sbin
  27. ${INSTALL_BIN} ${WRKINST}/usr/bin/openct-tool \
  28. ${IDIR_OPENCT}/usr/bin
  29. ${INSTALL_DATA} ${WRKBUILD}/etc/openct.conf \
  30. ${IDIR_OPENCT}/etc
  31. include ${TOPDIR}/mk/pkg-bottom.mk