summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/gpgme
diff options
context:
space:
mode:
authorPaul Barker <paul@paulbarker.me.uk>2014-08-08 11:37:08 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-23 23:01:59 +0100
commit26b2233ebd2f19933076b71d044c0d8e6e11053b (patch)
tree4ee7b7bac55f5acd84b06219fe2a25dbfa471210 /meta/recipes-support/gpgme
parent94c9b0285abd8ec0505ba06e3c23376171ce7480 (diff)
downloadpoky-26b2233ebd2f19933076b71d044c0d8e6e11053b.tar.gz
gpgme: Add pkg-config file
A basic gpgme.pc file is installed with gpgme which should allow the library to be found and used using pkg-config rather than gpgme-config. (From OE-Core rev: 066eb8fbfd90f1a5af01a8f63adbe0cd2ae8cb5c) Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/gpgme')
-rw-r--r--meta/recipes-support/gpgme/gpgme-1.4.3/gpgme.pc10
-rw-r--r--meta/recipes-support/gpgme/gpgme_1.4.3.bb8
2 files changed, 17 insertions, 1 deletions
diff --git a/meta/recipes-support/gpgme/gpgme-1.4.3/gpgme.pc b/meta/recipes-support/gpgme/gpgme-1.4.3/gpgme.pc
new file mode 100644
index 0000000000..30a4d56d6e
--- /dev/null
+++ b/meta/recipes-support/gpgme/gpgme-1.4.3/gpgme.pc
@@ -0,0 +1,10 @@
1prefix=/usr
2libdir=${prefix}/lib
3includedir=${prefix}/include
4
5Name: gpgme
6Description: GNU Privacy Guard Made Easy
7Version: 1.4.3
8Requires:
9Libs: -L${libdir} -lgpgme -lassuan -lgpg-error
10Cflags: -I${includedir}
diff --git a/meta/recipes-support/gpgme/gpgme_1.4.3.bb b/meta/recipes-support/gpgme/gpgme_1.4.3.bb
index ef08d4f2f4..ca1e5f9344 100644
--- a/meta/recipes-support/gpgme/gpgme_1.4.3.bb
+++ b/meta/recipes-support/gpgme/gpgme_1.4.3.bb
@@ -10,7 +10,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
10 file://src/engine.h;endline=22;md5=4b6d8ba313d9b564cc4d4cfb1640af9d" 10 file://src/engine.h;endline=22;md5=4b6d8ba313d9b564cc4d4cfb1640af9d"
11 11
12SRC_URI = "ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-${PV}.tar.bz2 \ 12SRC_URI = "ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-${PV}.tar.bz2 \
13 file://disable_gpgconf_check.patch" 13 file://disable_gpgconf_check.patch \
14 file://gpgme.pc"
14 15
15SRC_URI[md5sum] = "334e524cffa8af4e2f43ae8afe585672" 16SRC_URI[md5sum] = "334e524cffa8af4e2f43ae8afe585672"
16SRC_URI[sha256sum] = "2d1cc12411753752d9c5b9037e6fd3fd363517af720154768cc7b46b60120496" 17SRC_URI[sha256sum] = "2d1cc12411753752d9c5b9037e6fd3fd363517af720154768cc7b46b60120496"
@@ -32,3 +33,8 @@ do_configure_prepend () {
32 rm -f ${S}/m4/gpg-error.m4 33 rm -f ${S}/m4/gpg-error.m4
33 rm -f ${S}/m4/libassuan.m4 34 rm -f ${S}/m4/libassuan.m4
34} 35}
36
37do_install_append () {
38 install -d ${D}${libdir}/pkgconfig
39 install -m 0644 ${WORKDIR}/gpgme.pc ${D}${libdir}/pkgconfig/
40}