# HG changeset patch # User Pascal Bellard # Date 1462306236 -7200 # Node ID 7392cb9148ca178bc2cf495ee8ad9a80316359a1 # Parent 6bccdf0e2a0d5a578b2d60eab76d0a1e63a0f4b8 gettext: fix arm build diff -r 6bccdf0e2a0d -r 7392cb9148ca gettext/receipt --- a/gettext/receipt Tue May 03 20:39:24 2016 +0200 +++ b/gettext/receipt Tue May 03 22:10:36 2016 +0200 @@ -18,13 +18,14 @@ # Handle cross compilation. Glibc-locale are installed in cross chroot. case "$ARCH" in - arm) BUILD_DEPENDS="ncurses-dev libxml2-tools libxml2-dev" ;; + arm) BUILD_DEPENDS="attr-dev ncurses-dev libxml2-tools libxml2-dev" + ARCH_ARGS="--disable-acl" ;; esac # Rules to configure and make the package. compile_rules() { - ./configure $CONFIGURE_ARGS && + ./configure $CONFIGURE_ARGS $ARCH_ARGS && make && make install } diff -r 6bccdf0e2a0d -r 7392cb9148ca jsmin/receipt --- a/jsmin/receipt Tue May 03 20:39:24 2016 +0200 +++ b/jsmin/receipt Tue May 03 22:10:36 2016 +0200 @@ -10,6 +10,7 @@ WEB_SITE="https://github.com/douglascrockford/JSMin" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$WEB_SITE/archive/$COMMIT.tar.gz" +HOST_ARCH="i486 arm" DEPENDS="" BUILD_DEPENDS="" @@ -17,7 +18,7 @@ # Rules to configure and make the package. compile_rules() { - gcc jsmin.c -o jsmin + $CC jsmin.c -o jsmin } # Rules to gen a SliTaz package suitable for Tazpkg.