wok-next view libgcrypt/receipt @ rev 16693
slitaz-icon: workaround tarball
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 23 05:21:33 2014 +0300 (2014-05-23) |
parents | 8f447cf2eee5 |
children | 17e313b5b9c1 |
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="-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 }