summaryrefslogtreecommitdiff
path: root/recipes/libgcrypt/libgcrypt.inc
blob: afec2fde90ed8486a85726c0008d09277b91543b (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
DESCRIPTION = "A general purpose cryptographic library based on the code from GnuPG"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "GPL LGPL FDL"
DEPENDS = "libgpg-error"

SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-${PV}.tar.gz \
           file://add-pkgconfig-support.patch;patch=1 \
           file://mips-h-constraint.patch;patch=1"

inherit autotools binconfig pkgconfig lib_package

EXTRA_OECONF = "--without-pth --disable-asm --with-capabilities"

ARM_INSTRUCTION_SET = "arm"

do_install_append() {
	install -d ${D}/${libdir}/pkgconfig/
	cp ${S}/src/*.pc ${D}/${libdir}/pkgconfig/
}

do_stage() {
	autotools_stage_all
}