wok-next annotate libgcrypt/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents a675561c65a3
children d5aab818505e
rev   line source
al@19768 1 # SliTaz package receipt v2.
erjo@180 2
erjo@180 3 PACKAGE="libgcrypt"
erkan@20815 4 VERSION="1.8.3"
erjo@180 5 CATEGORY="security"
erjo@180 6 SHORT_DESC="Cryptographic library based on GnuPG"
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@15473 8 LICENSE="GPL2 LGPL2.1"
al@19607 9 WEB_SITE="https://www.gnupg.org/related_software/libgcrypt/"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libgcrypt.html"
al@19607 11
erjo@180 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@19226 13 WGET_URL="https://www.gnupg.org/ftp/gcrypt/libgcrypt/$TARBALL"
al@19768 14 # https://www.gnupg.org/download/integrity_check.html
erkan@20815 15 TARBALL_SHA1="13bd2ce69e59ab538e959911dfae80ea309636e3"
pankso@10363 16
pankso@10363 17 BUILD_DEPENDS="libgpg-error-dev"
al@19768 18 SPLIT="libgcrypt-dev"
erjo@180 19
al@20406 20 compile_rules() {
pankso@15978 21 case "$ARCH" in
pankso@15978 22 arm)
al@20575 23 CONFIGURE_ARGS="--build=i486-slitaz-linux \
al@20575 24 --host=arm-slitaz-linux-gnueabi";;
al@20575 25 esac
al@20575 26
al@20575 27 ./configure $CONFIGURE_ARGS &&
al@20575 28 fix libtool &&
al@20575 29 make &&
al@20575 30 make install
erjo@180 31 }
erjo@180 32
al@20406 33 genpkg_rules() {
al@19768 34 case $PACKAGE in
al@20406 35 libgcrypt)
al@20406 36 copy @std
al@20406 37 DEPENDS="libgpg-error"
al@20406 38 ;;
al@20406 39 *-dev)
al@20406 40 copy @dev
al@20710 41 DEPENDS="libgcrypt libgpg-error-dev"
al@20406 42 ;;
al@19768 43 esac
erjo@180 44 }