wok-next view libgcrypt/receipt @ rev 19979
Up libdrm (2.4.82), wayland (1.14.0)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Oct 18 03:31:51 2017 +0300 (2017-10-18) |
parents | 35a20e111081 |
children | 2d54d154d5ca |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libgcrypt"
4 VERSION="1.7.7"
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"
14 # https://www.gnupg.org/download/integrity_check.html
15 TARBALL_SHA1="ea4ae1a4dba51f15095319419d7b42a0bf160384"
17 BUILD_DEPENDS="libgpg-error-dev"
18 SPLIT="libgcrypt-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
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 ./configure \
31 --build=$HOST_SYSTEM \
32 --host=$HOST_SYSTEM ;;
33 esac &&
34 make && make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 case $PACKAGE in
41 libgcrypt) copy @std; DEPENDS="libgpg-error";;
42 *-dev) copy @dev; DEPENDS="libgcrypt libgpg-error-dev";;
43 esac
44 }