summaryrefslogtreecommitdiff
path: root/packages/gpgme
diff options
context:
space:
mode:
authorJunqian Gordon Xu <xjqian@gmail.com>2008-02-22 02:52:20 +0000
committerJunqian Gordon Xu <xjqian@gmail.com>2008-02-22 02:52:20 +0000
commitaeadc77957a6b716256cd39bc10cd82dbf1d8c30 (patch)
tree4ae5617e4585f94da7411505584ae26c871d09a2 /packages/gpgme
parent81d76164a06f509d447db833ed6cc6b2f87c0932 (diff)
gpgme: unify, fix LEAD_SONAME
Diffstat (limited to 'packages/gpgme')
-rw-r--r--packages/gpgme/gpgme.inc27
-rw-r--r--packages/gpgme/gpgme_1.0.0.bb23
-rw-r--r--packages/gpgme/gpgme_1.0.3.bb23
-rw-r--r--packages/gpgme/gpgme_1.1.4.bb28
4 files changed, 33 insertions, 68 deletions
diff --git a/packages/gpgme/gpgme.inc b/packages/gpgme/gpgme.inc
new file mode 100644
index 0000000000..dc8df2c85f
--- /dev/null
+++ b/packages/gpgme/gpgme.inc
@@ -0,0 +1,27 @@
+DESCRIPTION = "GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier for applications"
+HOMEPAGE = "http://www.gnupg.org/gpgme.html"
+LICENSE = "GPL"
+DEPENDS = "libgpg-error pth libassuan"
+
+SRC_URI = "ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-${PV}.tar.gz"
+
+EXTRA_OECONF = "--with-pth=${STAGING_DIR}/${HOST_SYS} --without-pth-test --with-gpg=${bindir}/gpg --without-gpgsm"
+
+LEAD_SONAME = "libgpgme.so"
+
+inherit autotools binconfig
+
+do_stage() {
+ autotools_stage_includes
+
+ install -d ${STAGING_LIBDIR}
+ oe_libinstall -C gpgme -so libgpgme ${STAGING_LIBDIR}
+ oe_libinstall -C gpgme -so libgpgme-pth ${STAGING_LIBDIR}
+ oe_libinstall -C gpgme -so libgpgme-pthread ${STAGING_LIBDIR}
+
+ install -d ${STAGING_DATADIR}/aclocal
+ install -m 0644 gpgme/gpgme.m4 ${STAGING_DATADIR}/aclocal/
+}
+
+FILES_${PN} = "${libdir}/libgpgme*.so.*"
+FILES_${PN}-dev += "${bindir}/gpgme-config"
diff --git a/packages/gpgme/gpgme_1.0.0.bb b/packages/gpgme/gpgme_1.0.0.bb
index 8292991a89..2a8923ba4c 100644
--- a/packages/gpgme/gpgme_1.0.0.bb
+++ b/packages/gpgme/gpgme_1.0.0.bb
@@ -1,22 +1,3 @@
-LICENSE = "GPL"
-SRC_URI = "ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-${PV}.tar.gz"
-PR = "r1"
-
-DEPENDS = "libgpg-error pth libassuan"
-
-EXTRA_OECONF = "--with-pth=${STAGING_DIR}/${HOST_SYS} --without-pth-test --with-gpg=${bindir}/gpg --without-gpgsm"
-
-inherit autotools binconfig
-
-do_stage() {
- autotools_stage_includes
-
- install -d ${STAGING_LIBDIR}
- oe_libinstall -C gpgme -so libgpgme ${STAGING_LIBDIR}
- oe_libinstall -C gpgme -so libgpgme-pth ${STAGING_LIBDIR}
- oe_libinstall -C gpgme -so libgpgme-pthread ${STAGING_LIBDIR}
-
- install -d ${STAGING_DATADIR}/aclocal
- install -m 0644 gpgme/gpgme.m4 ${STAGING_DATADIR}/aclocal/
-}
+require gpgme.inc
+PR = "r2"
diff --git a/packages/gpgme/gpgme_1.0.3.bb b/packages/gpgme/gpgme_1.0.3.bb
index 8292991a89..2a8923ba4c 100644
--- a/packages/gpgme/gpgme_1.0.3.bb
+++ b/packages/gpgme/gpgme_1.0.3.bb
@@ -1,22 +1,3 @@
-LICENSE = "GPL"
-SRC_URI = "ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-${PV}.tar.gz"
-PR = "r1"
-
-DEPENDS = "libgpg-error pth libassuan"
-
-EXTRA_OECONF = "--with-pth=${STAGING_DIR}/${HOST_SYS} --without-pth-test --with-gpg=${bindir}/gpg --without-gpgsm"
-
-inherit autotools binconfig
-
-do_stage() {
- autotools_stage_includes
-
- install -d ${STAGING_LIBDIR}
- oe_libinstall -C gpgme -so libgpgme ${STAGING_LIBDIR}
- oe_libinstall -C gpgme -so libgpgme-pth ${STAGING_LIBDIR}
- oe_libinstall -C gpgme -so libgpgme-pthread ${STAGING_LIBDIR}
-
- install -d ${STAGING_DATADIR}/aclocal
- install -m 0644 gpgme/gpgme.m4 ${STAGING_DATADIR}/aclocal/
-}
+require gpgme.inc
+PR = "r2"
diff --git a/packages/gpgme/gpgme_1.1.4.bb b/packages/gpgme/gpgme_1.1.4.bb
index e51fca90b9..2b8b07c90e 100644
--- a/packages/gpgme/gpgme_1.1.4.bb
+++ b/packages/gpgme/gpgme_1.1.4.bb
@@ -1,27 +1,3 @@
-LICENSE = "GPL"
-SRC_URI = "ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-${PV}.tar.bz2"
-PR = "r2"
-
-DEPENDS = "libgpg-error pth libassuan"
-
-EXTRA_OECONF = "--with-pth=${STAGING_DIR}/${HOST_SYS} --without-pth-test --with-gpg=${bindir}/gpg --without-gpgsm"
-
-inherit autotools binconfig
-
-do_stage() {
- autotools_stage_includes
-
- install -d ${STAGING_LIBDIR}
- oe_libinstall -C gpgme -so libgpgme ${STAGING_LIBDIR}
- oe_libinstall -C gpgme -so libgpgme-pth ${STAGING_LIBDIR}
- oe_libinstall -C gpgme -so libgpgme-pthread ${STAGING_LIBDIR}
-
- install -d ${STAGING_DATADIR}/aclocal
- install -m 0644 gpgme/gpgme.m4 ${STAGING_DATADIR}/aclocal/
-}
-
-FILES_${PN} = "${libdir}/libgpgme*.so.*"
-FILES_${PN}-dev += "${bindir}/gpgme-config"
-
-LEAD_SONAME = "libgpgme"
+require gpgme.inc
+PR = "r3"