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