wok-next view libgcrypt/receipt @ rev 20963
Add hackdorte-artwork and remove appropriate old packages with dead homepages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Sep 08 15:02:14 2018 +0300 (2018-09-08) |
parents | 1e959a3ea09a |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libgcrypt"
4 VERSION="1.8.3"
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="13bd2ce69e59ab538e959911dfae80ea309636e3"
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 }