summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libgpg-error
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2014-10-16 03:05:19 +0200
committerTudor Florea <tudor.florea@enea.com>2014-10-16 03:05:19 +0200
commitc527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch)
treebb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/recipes-support/libgpg-error
downloadpoky-daisy-140929.tar.gz
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/recipes-support/libgpg-error')
-rw-r--r--meta/recipes-support/libgpg-error/libgpg-error-1.12/pkgconfig.patch55
-rw-r--r--meta/recipes-support/libgpg-error/libgpg-error_1.12.bb29
2 files changed, 84 insertions, 0 deletions
diff --git a/meta/recipes-support/libgpg-error/libgpg-error-1.12/pkgconfig.patch b/meta/recipes-support/libgpg-error/libgpg-error-1.12/pkgconfig.patch
new file mode 100644
index 0000000000..27640129e2
--- /dev/null
+++ b/meta/recipes-support/libgpg-error/libgpg-error-1.12/pkgconfig.patch
@@ -0,0 +1,55 @@
1
2#
3# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4#
5
6Upstream-Status: Pending
7
8Index: libgpg-error-1.8/configure.ac
9===================================================================
10--- libgpg-error-1.8.orig/configure.ac 2010-05-06 06:01:08.000000000 -0700
11+++ libgpg-error-1.8/configure.ac 2010-07-21 02:20:20.923261305 -0700
12@@ -140,6 +140,7 @@
13 AC_SUBST(GPG_ERROR_CONFIG_CFLAGS)
14 AC_SUBST(GPG_ERROR_CONFIG_ISUBDIRAFTER)
15 AC_CONFIG_FILES([src/gpg-error-config], [chmod +x src/gpg-error-config])
16+AC_CONFIG_FILES([src/gpg-error.pc])
17
18
19 # Special defines for certain platforms
20Index: libgpg-error-1.8/src/Makefile.am
21===================================================================
22--- libgpg-error-1.8.orig/src/Makefile.am 2010-04-14 02:16:44.000000000 -0700
23+++ libgpg-error-1.8/src/Makefile.am 2010-07-21 02:22:36.655012496 -0700
24@@ -37,13 +37,15 @@
25 bin_SCRIPTS = gpg-error-config
26 m4datadir = $(datadir)/aclocal
27 m4data_DATA = gpg-error.m4
28+pkgconfigdir = $(libdir)/pkgconfig
29+pkgconfig_DATA = gpg-error.pc
30
31 EXTRA_DIST = mkstrtable.awk err-sources.h.in err-codes.h.in \
32 mkerrnos.awk errnos.in README \
33 mkerrcodes.awk mkerrcodes1.awk mkerrcodes2.awk mkerrcodes.c \
34 mkheader.awk gpg-error.h.in mkw32errmap.c w32-add.h w32ce-add.h \
35 err-sources.h err-codes.h gpg-error-config.in gpg-error.m4 \
36- gpg-error.def.in versioninfo.rc.in
37+ gpg-error.def.in versioninfo.rc.in gpg-error.pc.in
38
39 BUILT_SOURCES = err-sources.h err-codes.h code-to-errno.h code-from-errno.h \
40 err-sources-sym.h err-codes-sym.h errnos-sym.h gpg-error.h \
41Index: libgpg-error-1.8/src/gpg-error.pc.in
42===================================================================
43--- /dev/null 1970-01-01 00:00:00.000000000 +0000
44+++ libgpg-error-1.8/src/gpg-error.pc.in 2010-07-21 02:20:20.923261305 -0700
45@@ -0,0 +1,10 @@
46+prefix=@prefix@
47+exec_prefix=@exec_prefix@
48+libdir=@libdir@
49+includedir=@includedir@
50+
51+Name: gpg-error
52+Description: a library that defines common error values for all GnuPG components
53+Version: @VERSION@
54+Libs: -L{libdir} -lgpg-error
55+Cflags: -I${includedir}
diff --git a/meta/recipes-support/libgpg-error/libgpg-error_1.12.bb b/meta/recipes-support/libgpg-error/libgpg-error_1.12.bb
new file mode 100644
index 0000000000..a47e31d167
--- /dev/null
+++ b/meta/recipes-support/libgpg-error/libgpg-error_1.12.bb
@@ -0,0 +1,29 @@
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=6ac0378874589a44d53512b3786b4bc0 \
9 file://src/init.c;endline=20;md5=b69742f2a8827d494c6f6a4b1768416c"
10
11
12SECTION = "libs"
13
14SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-${PV}.tar.bz2 \
15 file://pkgconfig.patch"
16
17SRC_URI[md5sum] = "8f0eb41a344d19ac2aa9bd101dfb9ce6"
18SRC_URI[sha256sum] = "cafc9ed6a87c53a35175d5a1220a96ca386696eef2fa059cc0306211f246e55f"
19
20inherit autotools binconfig pkgconfig gettext
21
22FILES_${PN}-dev += "${bindir}/gpg-error"
23
24do_install_append() {
25 # we don't have common lisp in OE
26 rm -rf "${D}${datadir}/common-lisp/"
27}
28
29BBCLASSEXTEND = "native"