wok-current 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 0b50bcb60588
children 8abb017ed841
files e3/receipt nasm/receipt wget/receipt
line diff
     1.1 --- a/e3/receipt	Tue Mar 11 22:58:46 2014 +0100
     1.2 +++ b/e3/receipt	Tue Mar 11 23:30:55 2014 +0100
     1.3 @@ -17,16 +17,14 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -    cd $src
     1.8      sed -i -e 's/-D$(EXMODE)//' Makefile &&
     1.9      sed -i -e 's#/man/man#/share/man/man#' Makefile
    1.10 -    make &&
    1.11 -    make PREFIX=$DESTDIR install
    1.12 +    make && make PREFIX=$DESTDIR install
    1.13  }
    1.14  
    1.15  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.16  genpkg_rules()
    1.17  {
    1.18 -	mkdir -p $fs/usr/
    1.19 -	cp -R $WOK/$PACKAGE/install/* $fs/usr/
    1.20 +	mkdir -p $fs/usr
    1.21 +	cp -R $install/bin $fs/usr
    1.22  }
     2.1 --- a/nasm/receipt	Tue Mar 11 22:58:46 2014 +0100
     2.2 +++ b/nasm/receipt	Tue Mar 11 23:30:55 2014 +0100
     2.3 @@ -1,15 +1,16 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="nasm"
     2.7 -VERSION="2.09.10"
     2.8 +VERSION="2.11.02"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="The netwide assembler."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="BSD"
    2.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.15  WEB_SITE="http://www.nasm.us/"
    2.16  WGET_URL="${WEB_SITE}pub/$PACKAGE/releasebuilds/$VERSION/$TARBALL"
    2.17  TAGS="assembler"
    2.18 +HOST_ARCH="i486 arm"
    2.19  
    2.20  # Rules to configure and make the package.
    2.21  compile_rules()
     3.1 --- a/wget/receipt	Tue Mar 11 22:58:46 2014 +0100
     3.2 +++ b/wget/receipt	Tue Mar 11 23:30:55 2014 +0100
     3.3 @@ -9,15 +9,21 @@
     3.4  TARBALL="$PACKAGE-$VERSION.tar.xz"
     3.5  WEB_SITE="http://www.gnu.org/software/wget/wget.html"
     3.6  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
     3.7 +HOST_ARCH="i486 arm"
     3.8  
     3.9  DEPENDS="openssl libidn"
    3.10  BUILD_DEPENDS="openssl-dev libidn-dev"
    3.11  
    3.12 +# Handle cross compilation
    3.13 +case "$ARCH" in
    3.14 +	arm) ARCH_ARGS="--with-libssl-prefix=/cross/$ARCH/sysroot/usr/lib" ;;
    3.15 +esac
    3.16 +
    3.17  # Rules to configure and make the package.
    3.18  compile_rules()
    3.19  {
    3.20 -	cd $src	
    3.21 -	./configure --with-ssl=openssl $CONFIGURE_ARGS &&
    3.22 +	./configure --with-ssl=openssl \
    3.23 +		$CONFIGURE_ARGS $ARCH_ARGS &&
    3.24  	make DESTDIR=$DESTDIR install
    3.25  }
    3.26