1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME
:= openssl-pkcs11
9 PKG_HASH
:= de7d7e41e7c42deef40c53e10ccc3f88d2c036d6656ecee7e82e8be07b06a2e5
10 PKG_DESCR
:= pkcs11 engine for openssl
11 PKG_SECTION
:= app
/crypto
13 PKG_URL
:= http
://www.opensc-project.org
/engine_pkcs11
14 PKG_SITES
:= http
://www.opensc-project.org
/files
/engine_pkcs11
/
16 DISTFILES
:= engine_pkcs11-
${PKG_VERSION}.
tar.gz
17 WRKDIST
= ${WRKDIR}/engine_pkcs11-
${PKG_VERSION}
19 include ${ADK_TOPDIR}/mk
/package.mk
21 $(eval
$(call PKG_template
,OPENSSL_PKCS11
,openssl-pkcs11
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
23 CONFIGURE_ARGS
+= --with-openssl
="${STAGING_TARGET_DIR}/usr"
25 openssl-pkcs11-install
:
26 ${INSTALL_DIR} ${IDIR_OPENSSL_PKCS11}/usr
/lib
/engines
27 ${INSTALL_DATA} ${WRKINST}/usr
/lib
/engines
/engine_pkcs11.so \
28 ${IDIR_OPENSSL_PKCS11}/usr
/lib
/engines
30 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk