wok-6.x diff wget/receipt @ rev 16059
ARM: add wget and nasm
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 11 23:30:55 2014 +0100 (2014-03-11) |
parents | f4c22f009037 |
children | 3501b1928e39 |
line diff
1.1 --- a/wget/receipt Sat Sep 07 18:25:02 2013 +0000 1.2 +++ b/wget/receipt Tue Mar 11 23:30:55 2014 +0100 1.3 @@ -9,15 +9,21 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.xz" 1.5 WEB_SITE="http://www.gnu.org/software/wget/wget.html" 1.6 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.7 +HOST_ARCH="i486 arm" 1.8 1.9 DEPENDS="openssl libidn" 1.10 BUILD_DEPENDS="openssl-dev libidn-dev" 1.11 1.12 +# Handle cross compilation 1.13 +case "$ARCH" in 1.14 + arm) ARCH_ARGS="--with-libssl-prefix=/cross/$ARCH/sysroot/usr/lib" ;; 1.15 +esac 1.16 + 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 { 1.20 - cd $src 1.21 - ./configure --with-ssl=openssl $CONFIGURE_ARGS && 1.22 + ./configure --with-ssl=openssl \ 1.23 + $CONFIGURE_ARGS $ARCH_ARGS && 1.24 make DESTDIR=$DESTDIR install 1.25 } 1.26