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