wok-next view gnutls/receipt @ rev 17876

Bugfix: up slitaz-boot-scripts, tazpkg, and tazpanel to the latest ones.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Mar 28 14:40:59 2015 +0200 (2015-03-28)
parents 4a1d401a4034
children d2af45554821
line source
1 # SliTaz package receipt.
3 PACKAGE="gnutls"
4 VERSION="3.3.12"
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" ;;
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 $CONFIGURE_ARGS ${ARCH_ARGS} &&
41 make && make install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr
48 cp -a $install/usr/bin $fs/usr
49 }