Makefile 939 B

12345678910111213141516171819202122232425262728293031
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= openssl-pkcs11
  7. PKG_VERSION:= 0.1.3
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 26eb84950a10b7d869e41a50620ebf09
  10. DISTFILES:= engine_pkcs11-${PKG_VERSION}.tar.gz
  11. MASTER_SITES:= http://www.opensc-project.org/files/engine_pkcs11/
  12. WRKDIST= ${WRKDIR}/engine_pkcs11-${PKG_VERSION}
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,OPENSSL_PKCS11,openssl-pkcs11,${PKG_VERSION}-${PKG_RELEASE}))
  15. CONFIGURE_STYLE:= gnu
  16. CONFIGURE_ENV+= cross_compiling=yes
  17. CONFIGURE_ARGS+= --with-openssl="${STAGING_DIR}/usr"
  18. BUILD_STYLE:= auto
  19. INSTALL_STYLE:= auto
  20. post-install:
  21. ${INSTALL_DIR} ${IDIR_OPENSSL_PKCS11}/usr/lib/engines
  22. ${INSTALL_DATA} ${WRKINST}/usr/lib/engines/engine_pkcs11.so \
  23. ${IDIR_OPENSSL_PKCS11}/usr/lib/engines
  24. include ${TOPDIR}/mk/pkg-bottom.mk