summaryrefslogtreecommitdiff
path: root/package/libp11/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libp11/Makefile')
-rw-r--r--package/libp11/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/libp11/Makefile b/package/libp11/Makefile
index 8c3536e0e..e4823c247 100644
--- a/package/libp11/Makefile
+++ b/package/libp11/Makefile
@@ -20,7 +20,7 @@ PKGSC_LIBP11_DEV:= devel
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,LIBP11,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(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:
@@ -30,5 +30,8 @@ post-install:
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