diff options
Diffstat (limited to 'packages/libgpg-error')
-rw-r--r-- | packages/libgpg-error/libgpg-error-1.0/pkgconfig.patch | 0 | ||||
-rw-r--r-- | packages/libgpg-error/libgpg-error_0.6.bb | 21 | ||||
-rw-r--r-- | packages/libgpg-error/libgpg-error_0.7.bb | 28 | ||||
-rw-r--r-- | packages/libgpg-error/libgpg-error_1.0.bb | 0 |
4 files changed, 49 insertions, 0 deletions
diff --git a/packages/libgpg-error/libgpg-error-1.0/pkgconfig.patch b/packages/libgpg-error/libgpg-error-1.0/pkgconfig.patch new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/libgpg-error/libgpg-error-1.0/pkgconfig.patch diff --git a/packages/libgpg-error/libgpg-error_0.6.bb b/packages/libgpg-error/libgpg-error_0.6.bb index e69de29bb2..fced6b7adc 100644 --- a/packages/libgpg-error/libgpg-error_0.6.bb +++ b/packages/libgpg-error/libgpg-error_0.6.bb @@ -0,0 +1,21 @@ +DESCRIPTION = "GPG-Error library" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "GPL LGPL FDL" +PR = "r1" + +SRC_URI = "ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/libgpg-error-${PV}.tar.gz" + +inherit autotools binconfig + +do_stage() { + oe_libinstall -so -C src libgpg-error ${STAGING_LIBDIR} + install -m 0755 src/gpg-error-config ${STAGING_BINDIR}/ + + install -d ${STAGING_INCDIR}/ + for X in gpg-error.h + do + install -m 0644 src/${X} ${STAGING_INCDIR}/${X} + done + +} diff --git a/packages/libgpg-error/libgpg-error_0.7.bb b/packages/libgpg-error/libgpg-error_0.7.bb index e69de29bb2..c165044e83 100644 --- a/packages/libgpg-error/libgpg-error_0.7.bb +++ b/packages/libgpg-error/libgpg-error_0.7.bb @@ -0,0 +1,28 @@ +PR = "r4" +DESCRIPTION = "GPG-Error library" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "GPL LGPL FDL" + +SRC_URI = "ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/libgpg-error-${PV}.tar.gz \ + file://pkgconfig.patch;patch=1" + +# move libgpg-error-config into -dev package +FILES_${PN} = "${libdir}/lib*.so.*" +FILES_${PN}-dev += "${bindir}" + +inherit autotools binconfig pkgconfig + +do_stage() { + oe_libinstall -a -so -C src libgpg-error ${STAGING_LIBDIR} + install -m 0755 src/gpg-error-config ${STAGING_BINDIR}/ + + install -d ${STAGING_INCDIR}/ + for X in gpg-error.h + do + install -m 0644 ${S}/src/$X ${STAGING_INCDIR}/$X + done + + install -d ${STAGING_DATADIR}/aclocal + install -m 0644 src/gpg-error.m4 ${STAGING_DATADIR}/aclocal/ +} diff --git a/packages/libgpg-error/libgpg-error_1.0.bb b/packages/libgpg-error/libgpg-error_1.0.bb new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/libgpg-error/libgpg-error_1.0.bb |