wok-next view gnutls/receipt @ rev 19227

pinentry, pinentry-gtk: update bdeps
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 23 02:28:12 2016 +0300 (2016-06-23)
parents 51bd0a2cabc6
children 4048d48a47c1
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"
18 SUGGESTED="cacerts"
20 # Handle SliTaz arch.
21 case "$SLITAZ_ARCH" in
22 i?86) DEPENDS="$DEPENDS p11-kit" ;;
23 esac
25 # Handle cross compilation.
26 case "$ARCH" in
27 i?86)
28 BUILD_DEPENDS="$BUILD_DEPENDS p11-kit-dev cacerts" ;;
29 arm*)
30 ARCH_ARGS="--with-libgcrypt-prefix=/cross/$ARCH/sysroot/usr \
31 --without-p11-kit --disable-rpath" ;;
32 esac
34 # Rules to configure and make the package.
35 compile_rules()
36 {
37 ./configure \
38 --with-libgcrypt \
39 --disable-guile \
40 --with-zlib \
41 --with-default-trust-store-file="/etc/ssl/ca-bundle.crt" \
42 $CONFIGURE_ARGS ${ARCH_ARGS} &&
43 make && make install
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr
50 cp -a $install/usr/bin $fs/usr
51 }