wok-6.x annotate gnutls/receipt @ rev 22020

updated terminator (0.96 -> 1.91)
author Hans-G?nter Theisgen
date Sun Oct 20 09:30:04 2019 +0100 (2019-10-20)
parents 51bd0a2cabc6
children 8fa91d8eff3c
rev   line source
pascal@2502 1 # SliTaz package receipt.
erjo@180 2
erjo@180 3 PACKAGE="gnutls"
devl547@18272 4 VERSION="3.3.16"
erjo@180 5 CATEGORY="security"
erjo@180 6 SHORT_DESC="GNU Transport Layer Security Library"
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
pascal@17396 9 TARBALL="$PACKAGE-$VERSION.tar.lz"
erjo@180 10 WEB_SITE="http://www.gnu.org/software/gnutls/"
pascal@17396 11 WGET_URL="ftp://ftp.gnutls.org/gcrypt/gnutls/v${VERSION%.*}/$TARBALL"
pankso@16258 12 HOST_ARCH="i486 arm"
erjo@180 13
pankso@16258 14 DEPENDS="nettle libgpg-error ncurses readline zlib gcc-lib-base
pankso@16258 15 libgnutls libcrypto libtasn1"
pankso@16258 16 BUILD_DEPENDS="libtasn1-dev ncurses-dev readline-dev nettle-dev
pascal@17396 17 libgpg-error-dev libgcrypt-dev libcrypto-dev gmp-dev lzip"
psychomaniak@18351 18 SUGGESTED="cacerts"
pankso@16258 19
pankso@16258 20 # Handle SliTaz arch.
pankso@16258 21 case "$SLITAZ_ARCH" in
pankso@16258 22 i?86) DEPENDS="$DEPENDS p11-kit" ;;
pankso@16258 23 esac
pankso@16258 24
pankso@16258 25 # Handle cross compilation.
pankso@16258 26 case "$ARCH" in
pankso@16258 27 i?86)
psychomaniak@18166 28 BUILD_DEPENDS="$BUILD_DEPENDS p11-kit-dev cacerts" ;;
pankso@16258 29 arm*)
pankso@16258 30 ARCH_ARGS="--with-libgcrypt-prefix=/cross/$ARCH/sysroot/usr \
pankso@16258 31 --without-p11-kit --disable-rpath" ;;
pankso@16258 32 esac
slaxemulator@11295 33
erjo@180 34 # Rules to configure and make the package.
erjo@180 35 compile_rules()
erjo@180 36 {
pankso@16258 37 ./configure \
pankso@16258 38 --with-libgcrypt \
pankso@16258 39 --disable-guile \
pankso@16258 40 --with-zlib \
psychomaniak@18166 41 --with-default-trust-store-file="/etc/ssl/ca-bundle.crt" \
pankso@16258 42 $CONFIGURE_ARGS ${ARCH_ARGS} &&
slaxemulator@10270 43 make && make install
erjo@180 44 }
erjo@180 45
erjo@180 46 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@180 47 genpkg_rules()
erjo@180 48 {
erjo@11631 49 mkdir -p $fs/usr
pascal@14999 50 cp -a $install/usr/bin $fs/usr
erjo@180 51 }