blob: ad06ceb18566af33b90235ad0b1fc2948f8b3a4e (
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
|
LICENSE = GPL LGPL FDL
SECTION="libs"
PRIORITY="optional"
RDEPENDS="libc6"
SECTION="libs"
DEPENDS=virtual/libc
PROVIDES=virtual/libgcrypt
SRC_URI = "ftp://ftp.gnupg.org/gcrypt/alpha/libgcrypt/${PN}-${PV}.tar.gz"
inherit autotools libtool
do_stage () {
install -m 0644 src/.libs/libgcrypt.a ${STAGING_LIBDIR}/
install -m 0755 src/.libs/libgcrypt.so.1.5.1 ${STAGING_LIBDIR}/
ln -sf ${STAGING_LIBDIR}/libgcrypt.so.1.5.1 ${STAGING_LIBDIR}/libgcrypt.so.1.5
ln -sf ${STAGING_LIBDIR}/libgcrypt.so.1.5.1 ${STAGING_LIBDIR}/libgcrypt.so.1
ln -sf ${STAGING_LIBDIR}/libgcrypt.so.1.5.1 ${STAGING_LIBDIR}/libgcrypt.so
install -m 0755 src/libgcrypt-config ${STAGING_BINDIR}/
install -d ${STAGING_DIR}/target/include/
for X in gcrypt.h
do
install -m 0644 src/${X} ${STAGING_DIR}/target/include/${X}
done
}
|