summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libgpg-error/libgpg-error_1.19.bb
diff options
context:
space:
mode:
authorLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>2015-06-09 12:36:52 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-11 23:59:17 +0100
commit8db97b59914a38f4550b47fa4374a2d4312aec06 (patch)
tree5fa3c0e6fca16f69195537f430251c215d5b6262 /meta/recipes-support/libgpg-error/libgpg-error_1.19.bb
parentb108e3e2df6b6e844d6768e793f292c74347eee5 (diff)
downloadpoky-8db97b59914a38f4550b47fa4374a2d4312aec06.tar.gz
libgpg-error: Upgrade 1.18 -> 1.19
The patch pkgconfig.patch has not being integrated into upstream repository, so rebasing it. Another change occurred inside the recipe, the TUPLE's name changed for i586/i686 target architectures. (From OE-Core rev: c263dc742c0c4729be51dad8eefc0b2699b071d9) Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libgpg-error/libgpg-error_1.19.bb')
-rw-r--r--meta/recipes-support/libgpg-error/libgpg-error_1.19.bb51
1 files changed, 51 insertions, 0 deletions
diff --git a/meta/recipes-support/libgpg-error/libgpg-error_1.19.bb b/meta/recipes-support/libgpg-error/libgpg-error_1.19.bb
new file mode 100644
index 0000000000..39dbbcf337
--- /dev/null
+++ b/meta/recipes-support/libgpg-error/libgpg-error_1.19.bb
@@ -0,0 +1,51 @@
1SUMMARY = "Small library that defines common error values for all GnuPG components"
2HOMEPAGE = "http://www.gnupg.org/related_software/libgpg-error/"
3BUGTRACKER = "https://bugs.g10code.com/gnupg/index"
4
5LICENSE = "GPLv2+ & LGPLv2.1+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
7 file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
8 file://src/gpg-error.h.in;endline=23;md5=8b204918f0ca707136394d8bb20c7ebc \
9 file://src/init.c;endline=20;md5=8f5a9b59634f4aebcd0ec9d3ebd53bfe"
10
11
12SECTION = "libs"
13
14SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-${PV}.tar.bz2 \
15 file://pkgconfig.patch"
16SRC_URI[md5sum] = "c04c16245b92829281f43b5bef7d16da"
17SRC_URI[sha256sum] = "53120e1333d5c5d28d87ff2854e9e98719c8e214152f17ad5291704d25c4978b"
18
19BINCONFIG = "${bindir}/gpg-error-config"
20
21inherit autotools binconfig-disabled pkgconfig gettext
22CPPFLAGS += "-P"
23do_compile_prepend() {
24 TARGET_FILE=linux-gnu
25 if [ ${TARGET_OS} != "linux" ]; then
26 TARGET_FILE=${TARGET_OS}
27 fi
28
29 case ${TARGET_ARCH} in
30 aarch64_be) TUPLE=aarch64-unknown-linux-gnu ;;
31 arm) TUPLE=arm-unknown-linux-gnueabi ;;
32 armeb) TUPLE=arm-unknown-linux-gnueabi ;;
33 i586|i686) TUPLE=i686-pc-linux-gnu ;;
34 mips64el) TUPLE=mipsel-unknown-linux-gnu ;;
35 mips64) TUPLE=mips-unknown-linux-gnu ;;
36 x86_64) TUPLE=x86_64-pc-linux-gnu ;;
37 *) TUPLE=${TARGET_ARCH}-unknown-linux-gnu ;;
38 esac
39
40 cp ${S}/src/syscfg/lock-obj-pub.$TUPLE.h \
41 ${S}/src/syscfg/lock-obj-pub.$TARGET_FILE.h
42}
43
44do_install_append() {
45 # we don't have common lisp in OE
46 rm -rf "${D}${datadir}/common-lisp/"
47}
48
49FILES_${PN}-dev += "${bindir}/gpg-error"
50
51BBCLASSEXTEND = "native"