wok-6.x view gnutls/receipt @ rev 18300

iron-linux: fix menu shortcut
author Richard Dunbar <mojo@slitaz.org>
date Mon Aug 17 20:13:36 2015 -0400 (2015-08-17)
parents 4fa27fccfa02
children 8417cbe6fdae
line source
1 # SliTaz package receipt.
3 PACKAGE="gnutls"
4 VERSION="3.3.16"
5 CATEGORY="security"
6 SHORT_DESC="GNU Transport Layer Security Library"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.lz"
10 WEB_SITE="http://www.gnu.org/software/gnutls/"
11 WGET_URL="ftp://ftp.gnutls.org/gcrypt/gnutls/v${VERSION%.*}/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="nettle libgpg-error ncurses readline zlib gcc-lib-base
15 libgnutls libcrypto libtasn1"
16 BUILD_DEPENDS="libtasn1-dev ncurses-dev readline-dev nettle-dev
17 libgpg-error-dev libgcrypt-dev libcrypto-dev gmp-dev lzip"
19 # Handle SliTaz arch.
20 case "$SLITAZ_ARCH" in
21 i?86) DEPENDS="$DEPENDS p11-kit" ;;
22 esac
24 # Handle cross compilation.
25 case "$ARCH" in
26 i?86)
27 BUILD_DEPENDS="$BUILD_DEPENDS p11-kit-dev cacerts" ;;
28 arm*)
29 ARCH_ARGS="--with-libgcrypt-prefix=/cross/$ARCH/sysroot/usr \
30 --without-p11-kit --disable-rpath" ;;
31 esac
33 # Rules to configure and make the package.
34 compile_rules()
35 {
36 ./configure \
37 --with-libgcrypt \
38 --disable-guile \
39 --with-zlib \
40 --with-default-trust-store-file="/etc/ssl/ca-bundle.crt" \
41 $CONFIGURE_ARGS ${ARCH_ARGS} &&
42 make && make install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr
49 cp -a $install/usr/bin $fs/usr
50 }