diff options
Diffstat (limited to 'meta/recipes-support/libgpg-error')
-rw-r--r-- | meta/recipes-support/libgpg-error/libgpg-error-1.8/pkgconfig.patch | 53 | ||||
-rw-r--r-- | meta/recipes-support/libgpg-error/libgpg-error_1.8.bb | 24 |
2 files changed, 77 insertions, 0 deletions
diff --git a/meta/recipes-support/libgpg-error/libgpg-error-1.8/pkgconfig.patch b/meta/recipes-support/libgpg-error/libgpg-error-1.8/pkgconfig.patch new file mode 100644 index 0000000000..49e47d874e --- /dev/null +++ b/meta/recipes-support/libgpg-error/libgpg-error-1.8/pkgconfig.patch | |||
@@ -0,0 +1,53 @@ | |||
1 | |||
2 | # | ||
3 | # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher | ||
4 | # | ||
5 | |||
6 | Index: libgpg-error-1.8/configure.ac | ||
7 | =================================================================== | ||
8 | --- libgpg-error-1.8.orig/configure.ac 2010-05-06 06:01:08.000000000 -0700 | ||
9 | +++ libgpg-error-1.8/configure.ac 2010-07-21 02:20:20.923261305 -0700 | ||
10 | @@ -140,6 +140,7 @@ | ||
11 | AC_SUBST(GPG_ERROR_CONFIG_CFLAGS) | ||
12 | AC_SUBST(GPG_ERROR_CONFIG_ISUBDIRAFTER) | ||
13 | AC_CONFIG_FILES([src/gpg-error-config], [chmod +x src/gpg-error-config]) | ||
14 | +AC_CONFIG_FILES([src/gpg-error.pc]) | ||
15 | |||
16 | |||
17 | # Special defines for certain platforms | ||
18 | Index: libgpg-error-1.8/src/Makefile.am | ||
19 | =================================================================== | ||
20 | --- libgpg-error-1.8.orig/src/Makefile.am 2010-04-14 02:16:44.000000000 -0700 | ||
21 | +++ libgpg-error-1.8/src/Makefile.am 2010-07-21 02:22:36.655012496 -0700 | ||
22 | @@ -37,13 +37,15 @@ | ||
23 | bin_SCRIPTS = gpg-error-config | ||
24 | m4datadir = $(datadir)/aclocal | ||
25 | m4data_DATA = gpg-error.m4 | ||
26 | +pkgconfigdir = $(libdir)/pkgconfig | ||
27 | +pkgconfig_DATA = gpg-error.pc | ||
28 | |||
29 | EXTRA_DIST = mkstrtable.awk err-sources.h.in err-codes.h.in \ | ||
30 | mkerrnos.awk errnos.in README \ | ||
31 | mkerrcodes.awk mkerrcodes1.awk mkerrcodes2.awk mkerrcodes.c \ | ||
32 | mkheader.awk gpg-error.h.in mkw32errmap.c w32-add.h w32ce-add.h \ | ||
33 | err-sources.h err-codes.h gpg-error-config.in gpg-error.m4 \ | ||
34 | - gpg-error.def.in versioninfo.rc.in | ||
35 | + gpg-error.def.in versioninfo.rc.in gpg-error.pc.in | ||
36 | |||
37 | BUILT_SOURCES = err-sources.h err-codes.h code-to-errno.h code-from-errno.h \ | ||
38 | err-sources-sym.h err-codes-sym.h errnos-sym.h gpg-error.h \ | ||
39 | Index: libgpg-error-1.8/src/gpg-error.pc.in | ||
40 | =================================================================== | ||
41 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | ||
42 | +++ libgpg-error-1.8/src/gpg-error.pc.in 2010-07-21 02:20:20.923261305 -0700 | ||
43 | @@ -0,0 +1,10 @@ | ||
44 | +prefix=@prefix@ | ||
45 | +exec_prefix=@exec_prefix@ | ||
46 | +libdir=@libdir@ | ||
47 | +includedir=@includedir@ | ||
48 | + | ||
49 | +Name: gpg-error | ||
50 | +Description: a library that defines common error values for all GnuPG components | ||
51 | +Version: @VERSION@ | ||
52 | +Libs: -L{libdir} -lgpg-error | ||
53 | +Cflags: -I${includedir} | ||
diff --git a/meta/recipes-support/libgpg-error/libgpg-error_1.8.bb b/meta/recipes-support/libgpg-error/libgpg-error_1.8.bb new file mode 100644 index 0000000000..120feecafa --- /dev/null +++ b/meta/recipes-support/libgpg-error/libgpg-error_1.8.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | DESCRIPTION = "a 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;endline=23;md5=83c16c8f5cea85affa1ff270a6f4fcff \ | ||
9 | file://src/init.c;endline=20;md5=b69742f2a8827d494c6f6a4b1768416c" | ||
10 | |||
11 | |||
12 | SECTION = "libs" | ||
13 | LICENSE = "GPLv2+ & LGPLv2.1+" | ||
14 | DEPENDS = "gettext" | ||
15 | PR = "r0" | ||
16 | |||
17 | SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-${PV}.tar.bz2 \ | ||
18 | file://pkgconfig.patch;" | ||
19 | |||
20 | # move libgpg-error-config into -dev package | ||
21 | FILES_${PN} = "${libdir}/lib*.so.*" | ||
22 | FILES_${PN}-dev += "${bindir}/*" | ||
23 | |||
24 | inherit autotools binconfig pkgconfig | ||