generic-poky/meta/packages/libgpg-error/libgpg-error_1.0.bb
Richard Purdie 825a17ea1a libgpg-error: Convert to use STAGING_BINDIR_CROSS
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1037 311d38ba-8fff-0310-9ca6-ca027cbcb966
2006-12-14 13:30:48 +00:00

30 lines
771 B
BlitzBasic

PR = "r1"
DESCRIPTION = "GPG-Error library"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "GPL LGPL FDL"
SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-${PV}.tar.gz \
file://pkgconfig.patch;patch=1"
# move libgpg-error-config into -dev package
FILES_${PN} = "${libdir}/lib*.so.*"
FILES_${PN}-dev += "${bindir}/*"
inherit autotools binconfig pkgconfig
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/
}