wok-6.x view libgcrypt/receipt @ rev 18701
Up tazpkg(889)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Dec 16 12:18:23 2015 +0200 (2015-12-16) |
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 }