# HG changeset patch # User Christophe Lincoln # Date 1394577055 -3600 # Node ID 4bc239bf6b69366bee6ea75a1d089a99feec3ce3 # Parent 0b50bcb605886cae3cab6d33bcdc95533acc0152 ARM: add wget and nasm diff -r 0b50bcb60588 -r 4bc239bf6b69 e3/receipt --- a/e3/receipt Tue Mar 11 22:58:46 2014 +0100 +++ b/e3/receipt Tue Mar 11 23:30:55 2014 +0100 @@ -17,16 +17,14 @@ # Rules to configure and make the package. compile_rules() { - cd $src sed -i -e 's/-D$(EXMODE)//' Makefile && sed -i -e 's#/man/man#/share/man/man#' Makefile - make && - make PREFIX=$DESTDIR install + make && make PREFIX=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/ - cp -R $WOK/$PACKAGE/install/* $fs/usr/ + mkdir -p $fs/usr + cp -R $install/bin $fs/usr } diff -r 0b50bcb60588 -r 4bc239bf6b69 nasm/receipt --- a/nasm/receipt Tue Mar 11 22:58:46 2014 +0100 +++ b/nasm/receipt Tue Mar 11 23:30:55 2014 +0100 @@ -1,15 +1,16 @@ # SliTaz package receipt. PACKAGE="nasm" -VERSION="2.09.10" +VERSION="2.11.02" CATEGORY="development" SHORT_DESC="The netwide assembler." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" -TARBALL="$PACKAGE-$VERSION.tar.bz2" +TARBALL="$PACKAGE-$VERSION.tar.xz" WEB_SITE="http://www.nasm.us/" WGET_URL="${WEB_SITE}pub/$PACKAGE/releasebuilds/$VERSION/$TARBALL" TAGS="assembler" +HOST_ARCH="i486 arm" # Rules to configure and make the package. compile_rules() diff -r 0b50bcb60588 -r 4bc239bf6b69 wget/receipt --- a/wget/receipt Tue Mar 11 22:58:46 2014 +0100 +++ b/wget/receipt Tue Mar 11 23:30:55 2014 +0100 @@ -9,15 +9,21 @@ TARBALL="$PACKAGE-$VERSION.tar.xz" WEB_SITE="http://www.gnu.org/software/wget/wget.html" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" +HOST_ARCH="i486 arm" DEPENDS="openssl libidn" BUILD_DEPENDS="openssl-dev libidn-dev" +# Handle cross compilation +case "$ARCH" in + arm) ARCH_ARGS="--with-libssl-prefix=/cross/$ARCH/sysroot/usr/lib" ;; +esac + # Rules to configure and make the package. compile_rules() { - cd $src - ./configure --with-ssl=openssl $CONFIGURE_ARGS && + ./configure --with-ssl=openssl \ + $CONFIGURE_ARGS $ARCH_ARGS && make DESTDIR=$DESTDIR install }