summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/pkgconfig_stage.bbclass9
-rw-r--r--meta/packages/libgcrypt/libgcrypt.inc8
2 files changed, 7 insertions, 10 deletions
diff --git a/meta/classes/pkgconfig_stage.bbclass b/meta/classes/pkgconfig_stage.bbclass
deleted file mode 100644
index bd5bd81670..0000000000
--- a/meta/classes/pkgconfig_stage.bbclass
+++ /dev/null
@@ -1,9 +0,0 @@
1SYSROOT_PREPROCESS_FUNCS += "pkgconfig_sysroot_preprocess"
2
3pkgconfig_sysroot_preprocess () {
4 install -d ${SYSROOT_DESTDIR}${PKG_CONFIG_DIR}
5 for pc in `find ${S} -name '*.pc' -type f | grep -v -- '-uninstalled.pc$'`; do
6 pcname=`basename $pc`
7 cat $pc > ${SYSROOT_DESTDIR}${PKG_CONFIG_DIR}/$pcname
8 done
9}
diff --git a/meta/packages/libgcrypt/libgcrypt.inc b/meta/packages/libgcrypt/libgcrypt.inc
index 6c46087045..08fe7992fa 100644
--- a/meta/packages/libgcrypt/libgcrypt.inc
+++ b/meta/packages/libgcrypt/libgcrypt.inc
@@ -14,10 +14,16 @@ DEPENDS = "libgpg-error"
14SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-${PV}.tar.gz \ 14SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-${PV}.tar.gz \
15 file://add-pkgconfig-support.patch" 15 file://add-pkgconfig-support.patch"
16 16
17inherit autotools binconfig pkgconfig pkgconfig_stage 17inherit autotools binconfig pkgconfig
18 18
19EXTRA_OECONF = "--without-pth --disable-asm --with-capabilities" 19EXTRA_OECONF = "--without-pth --disable-asm --with-capabilities"
20 20
21# libgcrypt.pc is added locally and thus installed here
22do_install_append() {
23 install -d ${D}/${libdir}/pkgconfig
24 install -m 0644 ${S}/src/libgcrypt.pc ${D}/${libdir}/pkgconfig/
25}
26
21ARM_INSTRUCTION_SET = "arm" 27ARM_INSTRUCTION_SET = "arm"
22 28
23# move libgcrypt-config into -dev package 29# move libgcrypt-config into -dev package