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