Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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_BUILDDEP+= libtool libusb
  8. PKG_MD5SUM:= d8d8c63269985303a303a218c4b953d7
  9. PKG_DESCR:= drivers for several smart card readers
  10. PKG_SECTION:= libs
  11. PKG_DEPENDS:= libltdl 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. CONFIGURE_STYLE:= gnu
  17. BUILD_STYLE:= auto
  18. INSTALL_STYLE:= auto
  19. post-install:
  20. ${INSTALL_DIR} ${IDIR_OPENCT}/etc ${IDIR_OPENCT}/usr/bin
  21. ${INSTALL_DIR} ${IDIR_OPENCT}/usr/sbin ${IDIR_OPENCT}/usr/lib
  22. ${CP} ${WRKINST}/usr/lib/libopenct.so.* \
  23. ${IDIR_OPENCT}/usr/lib
  24. ${INSTALL_BIN} ${WRKINST}/usr/sbin/openct-control \
  25. ${IDIR_OPENCT}/usr/sbin
  26. ${INSTALL_BIN} ${WRKINST}/usr/sbin/ifd* \
  27. ${IDIR_OPENCT}/usr/sbin
  28. ${INSTALL_BIN} ${WRKINST}/usr/bin/openct-tool \
  29. ${IDIR_OPENCT}/usr/bin
  30. ${INSTALL_DATA} ${WRKBUILD}/etc/openct.conf \
  31. ${IDIR_OPENCT}/etc
  32. include ${TOPDIR}/mk/pkg-bottom.mk