diff options
Diffstat (limited to 'package/libp11/Makefile')
-rw-r--r-- | package/libp11/Makefile | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/package/libp11/Makefile b/package/libp11/Makefile index e4823c247..9a7092c44 100644 --- a/package/libp11/Makefile +++ b/package/libp11/Makefile @@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk PKG_NAME:= libp11 PKG_VERSION:= 0.2.7 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_MD5SUM:= 564ab53ad7353903ddfdc15b153c44fb PKG_DESCR:= library implementing a small layer on top of PKCS11 API PKG_SECTION:= libs @@ -13,25 +13,14 @@ 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 +PKG_OPTS:= dev 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})) +$(eval $(call PKG_template,LIBP11,libp11,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) -post-install: +libp11-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 |