wok-current annotate gnutls/receipt @ rev 23150

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