wok-next view libgcrypt/receipt @ rev 20206
Up PyQt-x11-gpl (4.12.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 04 09:19:58 2017 +0100 (2017-11-04) |
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 }