Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  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:= libp11
  5. PKG_VERSION:= 0.2.7
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 564ab53ad7353903ddfdc15b153c44fb
  8. PKG_DESCR:= library implementing a small layer on top of PKCS11 API
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libopenssl libltdl
  11. PKG_BUILDDEP:= openssl libtool
  12. PKG_URL:= http://www.opensc-project.org/libp11
  13. PKG_SITES:= http://www.opensc-project.org/files/libp11/
  14. PKG_SUBPKGS:= LIBP11 LIBP11_DEV
  15. PKGSD_LIBP11_DEV:= development files for libp11
  16. PKGSC_LIBP11_DEV:= devel
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,LIBP11,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. $(eval $(call PKG_template,LIBP11_DEV,libp11-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBP11_DEV},${PKGSC_LIBP11_DEV}))
  20. post-install:
  21. ${INSTALL_DIR} ${IDIR_LIBP11}/usr/lib
  22. ${CP} ${WRKINST}/usr/lib/libp11.so* ${IDIR_LIBP11}/usr/lib
  23. libp11-dev-install:
  24. ${INSTALL_DIR} ${IDIR_LIBP11_DEV}/usr/include
  25. ${CP} ${WRKINST}/usr/include/*.h ${IDIR_LIBP11_DEV}/usr/include
  26. include ${TOPDIR}/mk/pkg-bottom.mk