Merge branch 'opendreambox-1.6' into vuplus-1.6
[vuplus_openembedded] / recipes / gpgme / gpgme.inc
1 DESCRIPTION = "GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG easier for applications"
2 HOMEPAGE = "http://www.gnupg.org/gpgme.html"
3 LICENSE = "GPL"
4 DEPENDS = "libgpg-error pth libassuan"
5 RRECOMMENDS_${PN} = "gnupg"
6
7 SRC_URI = "ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-${PV}.tar.gz"
8
9 EXTRA_OECONF = "--with-pth=${STAGING_DIR_HOST}${layout_exec_prefix} --without-pth-test --with-gpg=${bindir}/gpg --without-gpgsm"
10
11 LEAD_SONAME = "libgpgme.so"
12
13 inherit autotools binconfig
14
15 do_stage() {
16         autotools_stage_includes
17
18         install -d ${STAGING_LIBDIR}
19         oe_libinstall -C gpgme -so libgpgme ${STAGING_LIBDIR}
20         oe_libinstall -C gpgme -so libgpgme-pth ${STAGING_LIBDIR}
21         oe_libinstall -C gpgme -so libgpgme-pthread ${STAGING_LIBDIR}
22
23         install -d ${STAGING_DATADIR}/aclocal
24         install -m 0644 gpgme/gpgme.m4 ${STAGING_DATADIR}/aclocal/
25 }
26
27 FILES_${PN} = "${libdir}/libgpgme*.so.*"
28 FILES_${PN}-dev += "${bindir}/gpgme-config"