Makefile 1.0 KB

12345678910111213141516171819202122232425262728293031
  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:= openssl-pkcs11
  5. PKG_VERSION:= 0.1.5
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 840af6e54dc21445c54f74e15005ba4d
  8. PKG_DESCR:= pkcs11 engine for openssl
  9. PKG_SECTION:= crypto
  10. PKG_BUILDDEP:= libp11
  11. PKG_URL:= http://www.opensc-project.org/engine_pkcs11
  12. PKG_SITES:= http://www.opensc-project.org/files/engine_pkcs11/
  13. DISTFILES:= engine_pkcs11-${PKG_VERSION}.tar.gz
  14. WRKDIST= ${WRKDIR}/engine_pkcs11-${PKG_VERSION}
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,OPENSSL_PKCS11,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_ENV+= cross_compiling=yes
  18. CONFIGURE_ARGS+= --with-openssl="${STAGING_DIR}/usr"
  19. post-install:
  20. ${INSTALL_DIR} ${IDIR_OPENSSL_PKCS11}/usr/lib/engines
  21. ${INSTALL_DATA} ${WRKINST}/usr/lib/engines/engine_pkcs11.so \
  22. ${IDIR_OPENSSL_PKCS11}/usr/lib/engines
  23. include ${TOPDIR}/mk/pkg-bottom.mk