blob: e4823c247daad208bff0ec65c1641a16c8cf0e96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
include ${TOPDIR}/rules.mk
PKG_NAME:= libp11
PKG_VERSION:= 0.2.7
PKG_RELEASE:= 1
PKG_MD5SUM:= 564ab53ad7353903ddfdc15b153c44fb
PKG_DESCR:= library implementing a small layer on top of PKCS11 API
PKG_SECTION:= libs
PKG_DEPENDS:= libopenssl libltdl
PKG_BUILDDEP:= openssl libtool
PKG_URL:= http://www.opensc-project.org/libp11
PKG_SITES:= http://www.opensc-project.org/files/libp11/
PKG_SUBPKGS:= LIBP11 LIBP11_DEV
PKGSD_LIBP11_DEV:= development files for libp11
PKGSC_LIBP11_DEV:= devel
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,LIBP11,libp11,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,LIBP11_DEV,libp11-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBP11_DEV},${PKGSC_LIBP11_DEV}))
post-install:
${INSTALL_DIR} ${IDIR_LIBP11}/usr/lib
${CP} ${WRKINST}/usr/lib/libp11.so* ${IDIR_LIBP11}/usr/lib
libp11-dev-install:
${INSTALL_DIR} ${IDIR_LIBP11_DEV}/usr/include
${CP} ${WRKINST}/usr/include/*.h ${IDIR_LIBP11_DEV}/usr/include
${INSTALL_DIR} ${IDIR_LIBP11_DEV}/usr/lib/pkgconfig
${CP} ${WRKINST}/usr/lib/pkgconfig/libp11.pc \
${IDIR_LIBP11_DEV}/usr/lib/pkgconfig
include ${TOPDIR}/mk/pkg-bottom.mk
|