wok-next view gnutls/receipt @ rev 19769
Update Perl XS modules that need perl-dev to build (unlike Pure Perl), rebuild all module packages as Perl version change.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 14 09:51:23 2017 +0300 (2017-06-14) |
parents | 8417cbe6fdae |
children | f463de72afe3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnutls"
4 VERSION="3.5.3"
5 CATEGORY="security"
6 SHORT_DESC="GNU Transport Layer Security Library"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://gnutls.org/"
10 HOST_ARCH="i486 arm"
11 SUGGESTED="cacerts"
13 TARBALL="$PACKAGE-$VERSION.tar.xz"
14 WGET_URL="ftp://ftp.gnutls.org/gcrypt/gnutls/v${VERSION%.*}/$TARBALL"
16 DEPENDS="gmp libffi libtasn1 nettle p11-kit zlib"
17 BUILD_DEPENDS="nettle-dev libtasn1-dev gtk-doc gettext p11-kit-dev"
19 DEPENDS_arm="nettle libgpg-error ncurses readline zlib gcc-lib-base \
20 libgnutls libcrypto libtasn1"
21 BUILD_DEPENDS_arm="libtasn1-dev ncurses-dev readline-dev nettle-dev \
22 libgpg-error-dev libgcrypt-dev libcrypto-dev gmp-dev lzip"
24 SPLIT="libgnutls gnutls-dev"
26 # Handle SliTaz arch.
27 case "$SLITAZ_ARCH" in
28 arm*) DEPENDS=$DEPENDS_arm ;;
29 esac
31 # Handle cross compilation.
32 case "$ARCH" in
33 arm*)
34 BUILD_DEPENDS=$BUILD_DEPENDS_arm
35 ARCH_ARGS="--with-libgcrypt-prefix=/cross/$ARCH/sysroot/usr \
36 --without-p11-kit --disable-rpath --with-libgcrypt --disable-guile \
37 --with-zlib" ;;
38 esac
40 # Rules to configure and make the package.
41 compile_rules()
42 {
43 ./configure \
44 --with-default-trust-store-file="/etc/ssl/ca-bundle.crt" \
45 $CONFIGURE_ARGS ${ARCH_ARGS} &&
46 make && make install &&
47 make -C doc/reference install-data-local
48 }
50 # Rules to gen a SliTaz package suitable for Tazpkg.
51 genpkg_rules()
52 {
53 cook_copy_folders bin
54 }