summaryrefslogtreecommitdiff
path: root/packages/libgcrypt/libgcrypt.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/libgcrypt/libgcrypt.inc')
-rw-r--r--packages/libgcrypt/libgcrypt.inc10
1 files changed, 6 insertions, 4 deletions
diff --git a/packages/libgcrypt/libgcrypt.inc b/packages/libgcrypt/libgcrypt.inc
index 65f78db647..691f4fe133 100644
--- a/packages/libgcrypt/libgcrypt.inc
+++ b/packages/libgcrypt/libgcrypt.inc
@@ -7,16 +7,18 @@ DEPENDS = "libgpg-error"
SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-${PV}.tar.gz \
file://add-pkgconfig-support.patch;patch=1"
-inherit autotools binconfig pkgconfig
+inherit autotools binconfig pkgconfig lib_package
EXTRA_OECONF = "--without-pth --disable-asm --with-capabilities"
ARM_INSTRUCTION_SET = "arm"
+do_install_append() {
+ install -d ${D}/${libdir}/pkgconfig/
+ cp ${S}/src/*.pc ${D}/${libdir}/pkgconfig/
+}
+
do_stage() {
autotools_stage_all
}
-# move libgcrypt-config into -dev package
-FILES_${PN} = "${libdir}/lib*.so.*"
-FILES_${PN}-dev += "${bindir}"