libgcrypt: change staging to autotools one (from OE)

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3007 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Marcin Juszkiewicz 2007-10-26 13:21:27 +00:00
parent 4b780366b0
commit 6174a05104
1 changed files with 3 additions and 13 deletions

View File

@ -3,7 +3,6 @@ SECTION = "libs"
PRIORITY = "optional"
LICENSE = "GPL LGPL FDL"
DEPENDS = "libgpg-error"
PR = "r1"
# move libgcrypt-config into -dev package
@ -16,17 +15,8 @@ inherit autotools binconfig
EXTRA_OECONF = "--without-pth --disable-asm --with-capabilities"
ARM_INSTRUCTION_SET = "arm"
do_stage() {
oe_libinstall -so -C src libgcrypt ${STAGING_LIBDIR}
oe_libinstall -so -C src libgcrypt-pthread ${STAGING_LIBDIR}
install -m 0755 src/libgcrypt-config ${STAGING_BINDIR_CROSS}/
install -d ${STAGING_INCDIR}/
for X in gcrypt.h gcrypt-module.h
do
install -m 0644 src/${X} ${STAGING_INCDIR}/${X}
done
install -d ${STAGING_DATADIR}/aclocal
install -m 0644 src/libgcrypt.m4 ${STAGING_DATADIR}/aclocal
autotools_stage_all
}