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