wok-next view libgcrypt/receipt @ rev 19715

Fix building: pciutils, pcmanfm-legacy, arj
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 13 17:25:31 2017 +0300 (2017-05-13)
parents ac006a7bf27c
children d7873beccb0f
line source
1 # SliTaz package receipt.
3 PACKAGE="libgcrypt"
4 VERSION="1.7.6"
5 CATEGORY="security"
6 SHORT_DESC="Cryptographic library based on GnuPG"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="https://www.gnupg.org/related_software/libgcrypt/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://www.gnupg.org/ftp/gcrypt/libgcrypt/$TARBALL"
15 DEPENDS="libgpg-error"
16 BUILD_DEPENDS="libgpg-error-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # Integrity check: https://www.gnupg.org/download/integrity_check.html
22 echo "d2b9e0f413064cfc67188f80d3cbda887c755a62 $SRC/$TARBALL" | sha1sum -c || exit 1
24 case "$ARCH" in
25 arm)
26 #LIBS="-L/cross/arm/sysroot/usr/lib -lgpg-error"
27 ./configure \
28 --build=i486-slitaz-linux \
29 --host=arm-slitaz-linux-gnueabi ;;
30 *)
31 #export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lgpg-error"
32 ./configure \
33 --build=$HOST_SYSTEM \
34 --host=$HOST_SYSTEM ;;
35 esac &&
36 make && make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cook_copy_files dumpsexp hmac256 *.so*
43 }