wok-next view libgcrypt/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children e19ff076dc63
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="devel@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/svn/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="$PACKAGE-dev"
20 compile_rules() {
21 ./configure $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libgcrypt)
30 copy @std
31 DEPENDS="libgpg-error"
32 ;;
33 *-dev)
34 copy @dev
35 DEPENDS="libgcrypt libgpg-error-dev"
36 ;;
37 esac
38 }