wok-6.x view libgcrypt/receipt @ rev 17889
Up qemu-* (2.0.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 02 17:18:25 2015 +0200 (2015-04-02) |
parents | 13f7bca6b626 |
children | ac006a7bf27c |
line source
1 # SliTaz package receipt.
3 PACKAGE="libgcrypt"
4 VERSION="1.5.3"
5 CATEGORY="security"
6 SHORT_DESC="Cryptographic library based on GnuPG"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gnupg.org/"
11 WGET_URL="ftp://ftp.gnupg.org/gcrypt/libgcrypt/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="libgpg-error"
15 BUILD_DEPENDS="libgpg-error-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 case "$ARCH" in
21 arm)
22 #LIBS="-L/cross/arm/sysroot/usr/lib -lgpg-error"
23 ./configure \
24 --build=i486-slitaz-linux \
25 --host=arm-slitaz-linux-gnueabi ;;
26 *)
27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lgpg-error"
28 ./configure \
29 --build=$HOST_SYSTEM \
30 --host=$HOST_SYSTEM ;;
31 esac &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/bin $fs/usr/lib
39 cp -a $install/usr/bin/dumpsexp $fs/usr/bin
40 cp -a $install/usr/bin/hmac256 $fs/usr/bin
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }