wok-current view libgcrypt/receipt @ rev 21562

updated rspamd (0.9.10 -> 1.9.3)
author Hans-G?nter Theisgen
date Fri May 17 10:06:48 2019 +0100 (2019-05-17)
parents fac86802a927
children 7f7c79f6a65f
line source
1 # SliTaz package receipt.
3 PACKAGE="libgcrypt"
4 VERSION="1.8.4"
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="https://www.gnupg.org/related_software/libgcrypt/"
11 WGET_URL="https://www.gnupg.org/ftp/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 # Integrity check: https://www.gnupg.org/download/integrity_check.html
21 echo "4a8ef9db6922f3a31992aca5640b4198a69b58fc $SRC/$TARBALL" | sha1sum -c || exit 1
23 case "$ARCH" in
24 arm)
25 #LIBS="-L/cross/arm/sysroot/usr/lib -lgpg-error"
26 ./configure \
27 --build=i486-slitaz-linux \
28 --host=arm-slitaz-linux-gnueabi ;;
29 *)
30 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lgpg-error"
31 ./configure \
32 --build=$HOST_SYSTEM \
33 --host=$HOST_SYSTEM ;;
34 esac &&
35 make && make install
37 find $install/usr/share/man -type f -exec gzip -9 \{\} \;
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/bin $fs/usr/lib
44 cp -a $install/usr/bin/dumpsexp $fs/usr/bin
45 cp -a $install/usr/bin/hmac256 $fs/usr/bin
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 }