wok-next annotate gnutls/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 d3707642a563
children 56baa9155bcd
rev   line source
al@19797 1 # SliTaz package receipt v2.
erjo@180 2
erjo@180 3 PACKAGE="gnutls"
al@20902 4 VERSION="3.5.19"
erjo@180 5 CATEGORY="security"
erjo@180 6 SHORT_DESC="GNU Transport Layer Security Library"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
al@20861 9 WEB_SITE="https://gnutls.org/"
al@19693 10
al@19693 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@20861 12 WGET_URL="https://www.gnupg.org/ftp/gcrypt/gnutls/v${VERSION%.*}/$TARBALL"
al@20902 13 TARBALL_SHA1="51b29b7e37467a765378f3c8e546a5c1bb2a5054"
erjo@180 14
al@21020 15 BUILD_DEPENDS="nettle-dev libtasn1-dev libunistring-dev gettext-dev openssl-dev \
al@20861 16 libidn2-dev unbound-dev p11-kit-dev zlib-dev"
al@21020 17 SPLIT="libgnutls $PACKAGE-dev"
pankso@16258 18
al@20443 19 compile_rules() {
pankso@16258 20 ./configure \
pascal@20379 21 --enable-openssl-compatibility \
psychomaniak@18166 22 --with-default-trust-store-file="/etc/ssl/ca-bundle.crt" \
al@20573 23 $CONFIGURE_ARGS &&
al@20573 24 fix libtool &&
al@21020 25 make &&
al@21020 26 make install &&
al@19693 27 make -C doc/reference install-data-local
erjo@180 28 }
erjo@180 29
al@20443 30 genpkg_rules() {
al@19797 31 case $PACKAGE in
al@19797 32 gnutls)
al@19797 33 copy bin/
al@20861 34 DEPENDS="libgnutls libtasn1"
al@19797 35 ;;
al@19797 36 libgnutls)
al@19797 37 copy *.so*
al@19797 38 CAT="security|shared libraries"
al@20861 39 DEPENDS="gmp libidn2 libp11-kit libtasn1 libunistring nettle \
al@20861 40 unbound zlib cacerts"
al@19797 41 ;;
al@19797 42 *-dev)
al@19797 43 copy @dev
al@20861 44 DEPENDS="gnutls libgnutls \
al@20861 45 gmp-dev libidn2-dev libtasn1-dev nettle-dev p11-kit-dev \
al@19797 46 unbound-dev zlib-dev"
al@19797 47 ;;
al@19797 48 esac
erjo@180 49 }