wok diff gnutls/receipt @ rev 17008
Add scrollkeeper and scrollkeeper-dev
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Tue Aug 12 14:40:13 2014 -0300 (2014-08-12) |
parents | 64b542b0abad |
children | 838687a9dc32 |
line diff
1.1 --- a/gnutls/receipt Mon Mar 10 15:55:04 2014 +0000 1.2 +++ b/gnutls/receipt Tue Aug 12 14:40:13 2014 -0300 1.3 @@ -9,23 +9,38 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.5 WEB_SITE="http://www.gnu.org/software/gnutls/" 1.6 WGET_URL="http://ftp.gnu.org/gnu/$PACKAGE/$TARBALL" 1.7 +HOST_ARCH="i486 arm" 1.8 1.9 -DEPENDS="nettle libgpg-error ncurses readline zlib gcc-lib-base libgnutls \ 1.10 -libtasn1 p11-kit" 1.11 -BUILD_DEPENDS="libtasn1-dev ncurses-dev readline-dev p11-kit-dev \ 1.12 -nettle-dev libgpg-error-dev libgcrypt-dev" 1.13 +DEPENDS="nettle libgpg-error ncurses readline zlib gcc-lib-base 1.14 +libgnutls libcrypto libtasn1" 1.15 +BUILD_DEPENDS="libtasn1-dev ncurses-dev readline-dev nettle-dev 1.16 +libgpg-error-dev libgcrypt-dev libcrypto-dev" 1.17 + 1.18 +# Handle SliTaz arch. 1.19 +case "$SLITAZ_ARCH" in 1.20 + i?86) DEPENDS="$DEPENDS p11-kit" ;; 1.21 +esac 1.22 + 1.23 +# Handle cross compilation. 1.24 +case "$ARCH" in 1.25 + i?86) 1.26 + BUILD_DEPENDS="$BUILD_DEPENDS p11-kit-dev" ;; 1.27 + arm*) 1.28 + ARCH_ARGS="--with-libgcrypt-prefix=/cross/$ARCH/sysroot/usr \ 1.29 + --without-p11-kit --disable-rpath" ;; 1.30 +esac 1.31 1.32 # Rules to configure and make the package. 1.33 compile_rules() 1.34 { 1.35 - cd $src 1.36 # Apply http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-0092 fix 1.37 # from https://www.gitorious.org/gnutls/gnutls/commit/6aa26f78150ccbdf0aec1878a41c17c41d358a3b 1.38 patch -p1 < $stuff/CVE-2014-0092.u 1.39 - ./configure --with-libgcrypt \ 1.40 - --disable-guile \ 1.41 - --with-zlib \ 1.42 - $CONFIGURE_ARGS && 1.43 + ./configure \ 1.44 + --with-libgcrypt \ 1.45 + --disable-guile \ 1.46 + --with-zlib \ 1.47 + $CONFIGURE_ARGS ${ARCH_ARGS} && 1.48 make && make install 1.49 } 1.50