wok-next view libgcrypt/receipt @ rev 20715

Up nsd (4.1.21)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 13:10:46 2018 +0300 (2018-05-27)
parents 1ca369c9f448
children a675561c65a3
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libgcrypt"
4 VERSION="1.8.2"
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 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libgcrypt.html"
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="ab8aae5d7a68f8e0988f90e11e7f6a4805af5c8d"
17 BUILD_DEPENDS="libgpg-error-dev"
18 SPLIT="libgcrypt-dev"
20 compile_rules() {
21 case "$ARCH" in
22 arm)
23 CONFIGURE_ARGS="--build=i486-slitaz-linux \
24 --host=arm-slitaz-linux-gnueabi";;
25 esac
27 ./configure $CONFIGURE_ARGS &&
28 fix libtool &&
29 make &&
30 make install
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 libgcrypt)
36 copy @std
37 DEPENDS="libgpg-error"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="libgcrypt libgpg-error-dev"
42 ;;
43 esac
44 }