wok-current rev 15964

libmad: add to ARM arch
author Christophe Lincoln <pankso@slitaz.org>
date Mon Feb 24 15:44:00 2014 +0100 (2014-02-24)
parents fa583ef36fa9
children e2d4f5ed39a7
files libmad-dev/receipt libmad/receipt
line diff
     1.1 --- a/libmad-dev/receipt	Mon Feb 24 04:06:35 2014 +0100
     1.2 +++ b/libmad-dev/receipt	Mon Feb 24 15:44:00 2014 +0100
     1.3 @@ -8,6 +8,7 @@
     1.4  LICENSE="GPL2"
     1.5  WANTED="libmad"
     1.6  WEB_SITE="http://www.underbit.com/products/mad/"
     1.7 +HOST_ARCH="i486 arm"
     1.8  
     1.9  DEPENDS="libmad pkg-config"
    1.10  
     2.1 --- a/libmad/receipt	Mon Feb 24 04:06:35 2014 +0100
     2.2 +++ b/libmad/receipt	Mon Feb 24 15:44:00 2014 +0100
     2.3 @@ -9,15 +9,14 @@
     2.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     2.5  WEB_SITE="http://www.underbit.com/products/mad/"
     2.6  WGET_URL="$SF_MIRROR/mad/$TARBALL"
     2.7 +HOST_ARCH="i486 arm"
     2.8  
     2.9  # Rules to configure and make the package.
    2.10  compile_rules()
    2.11  {
    2.12 -	cd $src
    2.13  	sed -i '/-fforce-mem/d' ./configure
    2.14 -	./configure --prefix=/usr $CONFIGURE_ARGS
    2.15 -	make
    2.16 -	make DESTDIR=$DESTDIR install
    2.17 +	./configure --prefix=/usr $CONFIGURE_ARGS &&
    2.18 +	make && make DESTDIR=$DESTDIR install
    2.19  }
    2.20  
    2.21  # Rules to gen a SliTaz package suitable for Tazpkg.