fix patch, after aufs2 addition
[openadk.git] / package / libp11 / Makefile
blob8c3536e0e0056cd630ba665aa6a3fcbd95fb9c79
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
6 PKG_NAME:= libp11
7 PKG_VERSION:= 0.2.7
8 PKG_RELEASE:= 1
9 PKG_MD5SUM:= 564ab53ad7353903ddfdc15b153c44fb
10 PKG_DESCR:= library implementing a small layer on top of PKCS11 API
11 PKG_SECTION:= libs
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}))
26 post-install:
27 ${INSTALL_DIR} ${IDIR_LIBP11}/usr/lib
28 ${CP} ${WRKINST}/usr/lib/libp11.so* ${IDIR_LIBP11}/usr/lib
30 libp11-dev-install:
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