summaryrefslogtreecommitdiff
path: root/packages/gpgme/gpgme.inc
blob: e89d402b6ae153c0eade031597fde0d108f3df68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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"
RRECOMMENDS_${PN} = "gnupg"

SRC_URI = "ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-${PV}.tar.gz"

EXTRA_OECONF = "--with-pth=${STAGING_DIR_HOST}${layout_exec_prefix} --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"