diff options
Diffstat (limited to 'meta/recipes-support/libgpg-error/libgpg-error_1.28.bb')
-rw-r--r-- | meta/recipes-support/libgpg-error/libgpg-error_1.28.bb | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/meta/recipes-support/libgpg-error/libgpg-error_1.28.bb b/meta/recipes-support/libgpg-error/libgpg-error_1.28.bb deleted file mode 100644 index 71f4c3a388..0000000000 --- a/meta/recipes-support/libgpg-error/libgpg-error_1.28.bb +++ /dev/null | |||
@@ -1,63 +0,0 @@ | |||
1 | SUMMARY = "Small library that defines common error values for all GnuPG components" | ||
2 | HOMEPAGE = "http://www.gnupg.org/related_software/libgpg-error/" | ||
3 | BUGTRACKER = "https://bugs.g10code.com/gnupg/index" | ||
4 | |||
5 | LICENSE = "GPLv2+ & LGPLv2.1+" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ | ||
7 | file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ | ||
8 | file://src/gpg-error.h.in;endline=23;md5=fc7423b56d5f7163a9a2acf9fe2f8d6b \ | ||
9 | file://src/init.c;endline=20;md5=872b2389fe9bae7ffb80d2b91225afbc" | ||
10 | |||
11 | |||
12 | SECTION = "libs" | ||
13 | |||
14 | UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html" | ||
15 | SRC_URI = "${GNUPG_MIRROR}/libgpg-error/libgpg-error-${PV}.tar.bz2 \ | ||
16 | file://pkgconfig.patch \ | ||
17 | file://0001-core-Fix-regression-on-arm64-due-to-invalid-use-of-v.patch \ | ||
18 | " | ||
19 | |||
20 | SRC_URI[md5sum] = "2b072f6194eb22d48cd4c7c77e59b5af" | ||
21 | SRC_URI[sha256sum] = "3edb957744905412f30de3e25da18682cbe509541e18cd3b8f9df695a075da49" | ||
22 | |||
23 | BINCONFIG = "${bindir}/gpg-error-config" | ||
24 | |||
25 | inherit autotools binconfig-disabled pkgconfig gettext multilib_header | ||
26 | CPPFLAGS += "-P" | ||
27 | do_compile_prepend() { | ||
28 | TARGET_FILE=linux-gnu | ||
29 | if [ ${TARGET_OS} = "mingw32" ]; then | ||
30 | # There are no arch specific syscfg files for mingw32 | ||
31 | TARGET_FILE= | ||
32 | elif [ ${TARGET_OS} != "linux" ]; then | ||
33 | TARGET_FILE=${TARGET_OS} | ||
34 | fi | ||
35 | |||
36 | case ${TARGET_ARCH} in | ||
37 | aarch64_be) TUPLE=aarch64-unknown-linux-gnu ;; | ||
38 | arm) TUPLE=arm-unknown-linux-gnueabi ;; | ||
39 | armeb) TUPLE=arm-unknown-linux-gnueabi ;; | ||
40 | i586|i686) TUPLE=i686-pc-linux-gnu ;; | ||
41 | mips64*) TUPLE=mips64el-unknown-linux-gnuabi64 ;; | ||
42 | mips*el) TUPLE=mipsel-unknown-linux-gnu ;; | ||
43 | mips*) TUPLE=mips-unknown-linux-gnu ;; | ||
44 | x86_64) TUPLE=x86_64-pc-linux-gnu ;; | ||
45 | *) TUPLE=${TARGET_ARCH}-unknown-linux-gnu ;; | ||
46 | esac | ||
47 | |||
48 | if [ -n "$TARGET_FILE" ]; then | ||
49 | cp ${S}/src/syscfg/lock-obj-pub.$TUPLE.h \ | ||
50 | ${S}/src/syscfg/lock-obj-pub.$TARGET_FILE.h | ||
51 | fi | ||
52 | } | ||
53 | |||
54 | do_install_append() { | ||
55 | # we don't have common lisp in OE | ||
56 | rm -rf "${D}${datadir}/common-lisp/" | ||
57 | oe_multilib_header gpg-error.h gpgrt.h | ||
58 | } | ||
59 | |||
60 | FILES_${PN}-dev += "${bindir}/gpg-error" | ||
61 | FILES_${PN}-doc += "${datadir}/libgpg-error/errorref.txt" | ||
62 | |||
63 | BBCLASSEXTEND = "native nativesdk" | ||