summaryrefslogtreecommitdiff
path: root/packages/gpgme/gpgme_1.1.4.bb
blob: d78cc88cef3fd52c377e06e66a65d9b4bc2ad231 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
LICENSE = "GPL"
SRC_URI = "ftp://ftp.gnupg.org/gcrypt/gpgme/gpgme-${PV}.tar.bz2"
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/
}