wok rev 19098

gettext: fix arm build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 03 22:10:36 2016 +0200 (2016-05-03)
parents 6bccdf0e2a0d
children ebd13d88e221
files gettext/receipt jsmin/receipt
line diff
     1.1 --- a/gettext/receipt	Tue May 03 20:39:24 2016 +0200
     1.2 +++ b/gettext/receipt	Tue May 03 22:10:36 2016 +0200
     1.3 @@ -18,13 +18,14 @@
     1.4  
     1.5  # Handle cross compilation. Glibc-locale are installed in cross chroot.
     1.6  case "$ARCH" in
     1.7 -	arm) BUILD_DEPENDS="ncurses-dev libxml2-tools libxml2-dev" ;;
     1.8 +	arm) BUILD_DEPENDS="attr-dev ncurses-dev libxml2-tools libxml2-dev"
     1.9 +	     ARCH_ARGS="--disable-acl" ;;
    1.10  esac
    1.11  
    1.12  # Rules to configure and make the package.
    1.13  compile_rules()
    1.14  {
    1.15 -	./configure $CONFIGURE_ARGS &&
    1.16 +	./configure $CONFIGURE_ARGS $ARCH_ARGS &&
    1.17  	make && make install
    1.18  }
    1.19  
     2.1 --- a/jsmin/receipt	Tue May 03 20:39:24 2016 +0200
     2.2 +++ b/jsmin/receipt	Tue May 03 22:10:36 2016 +0200
     2.3 @@ -10,6 +10,7 @@
     2.4  WEB_SITE="https://github.com/douglascrockford/JSMin"
     2.5  TARBALL="$PACKAGE-$VERSION.tar.gz"
     2.6  WGET_URL="$WEB_SITE/archive/$COMMIT.tar.gz"
     2.7 +HOST_ARCH="i486 arm"
     2.8  
     2.9  DEPENDS=""
    2.10  BUILD_DEPENDS=""
    2.11 @@ -17,7 +18,7 @@
    2.12  # Rules to configure and make the package.
    2.13  compile_rules()
    2.14  {
    2.15 -	gcc jsmin.c -o jsmin
    2.16 +	$CC jsmin.c -o jsmin
    2.17  }
    2.18  
    2.19  # Rules to gen a SliTaz package suitable for Tazpkg.