blob: 581d8839af50571f0028e5479c07a23ca67745f4 (
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
29
30
31
32
33
34
35
|
DESCRIPTION = "GPG-Error library"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "GPL LGPL FDL"
DEPENDS += "virtual/libiconv"
DEPENDS_virtclass-native = ""
SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-${PV}.tar.gz \
file://pkgconfig.patch;patch=1"
INC_PR = "r6"
# move libgpg-error-config into -dev package
FILES_${PN} = "${libdir}/lib*.so.*"
FILES_${PN}-dev += "${bindir}/*"
inherit autotools binconfig pkgconfig gettext
do_stage() {
oe_libinstall -a -so -C src libgpg-error ${STAGING_LIBDIR}
install -d ${STAGING_BINDIR_CROSS}/
install -m 0755 src/gpg-error-config ${STAGING_BINDIR_CROSS}/
install -d ${STAGING_INCDIR}/
for X in gpg-error.h
do
install -m 0644 ${S}/src/$X ${STAGING_INCDIR}/$X
done
install -d ${STAGING_DATADIR}/aclocal
install -m 0644 src/gpg-error.m4 ${STAGING_DATADIR}/aclocal/
}
BBCLASSEXTEND = "native"
|