wok-next view gnutls/receipt @ rev 17568

Up: cairomm 1.11.2
author Alexander Medvedev <devl547@gmail.com>
date Sat Feb 07 17:33:19 2015 +0000 (2015-02-07)
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 }