wok-6.x rev 12811

Add bison, m4 and xz to ARM arch
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 20 03:09:06 2012 +0200 (2012-05-20)
parents 833b46d85d4d
children 4c9801543b7c
files bison/receipt m4/receipt xz/receipt
line diff
     1.1 --- a/bison/receipt	Sun May 20 03:01:49 2012 +0200
     1.2 +++ b/bison/receipt	Sun May 20 03:09:06 2012 +0200
     1.3 @@ -9,6 +9,7 @@
     1.4  WEB_SITE="http://www.gnu.org/software/bison/"
     1.5  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
     1.6  TAGS="parser language"
     1.7 +HOST_ARCH="i486 arm"
     1.8  
     1.9  DEPENDS="m4"
    1.10  BUILD_DEPENDS="m4"
    1.11 @@ -25,10 +26,9 @@
    1.12  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.13  genpkg_rules()
    1.14  {
    1.15 -	mkdir -p $fs/usr/share/locale
    1.16 -	cp -a $_pkg/usr/bin $fs/usr
    1.17 -	cp -a $_pkg/usr/lib $fs/usr
    1.18 -	cp -a $_pkg/usr/share/aclocal $fs/usr/share
    1.19 -	cp -a $_pkg/usr/share/bison $fs/usr/share
    1.20 -	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    1.21 +	mkdir -p $fs/usr/share
    1.22 +	cp -a $install/usr/bin $fs/usr
    1.23 +	cp -a $install/usr/lib $fs/usr
    1.24 +	cp -a $install/usr/share/aclocal $fs/usr/share
    1.25 +	cp -a $install/usr/share/bison $fs/usr/share
    1.26  }
     2.1 --- a/m4/receipt	Sun May 20 03:01:49 2012 +0200
     2.2 +++ b/m4/receipt	Sun May 20 03:09:06 2012 +0200
     2.3 @@ -8,23 +8,16 @@
     2.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     2.5  WEB_SITE="http://www.gnu.org/software/m4/"
     2.6  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
     2.7 +HOST_ARCH="i486 arm"
     2.8  
     2.9  DEPENDS="glibc-base"
    2.10 -BUILD_DEPENDS="gcc"
    2.11 -
    2.12 -# Rules to compile & install the temporary toolchain by Tazwok.
    2.13 -cook_tmp_toolchain()
    2.14 -{
    2.15 -	cd $src
    2.16 -	./configure && make && make install
    2.17 -}
    2.18 -
    2.19 +BUILD_DEPENDS=""
    2.20  
    2.21  # Rules to configure and make the package.
    2.22  compile_rules()
    2.23  {
    2.24  	cd $src
    2.25 -	./configure --build=$HOST_SYSTEM --host=$HOST_SYSTEM &&
    2.26 +	./configure $CONFIGURE_ARGS &&
    2.27  	make && make install
    2.28  }
    2.29  
    2.30 @@ -32,5 +25,5 @@
    2.31  genpkg_rules()
    2.32  {
    2.33  	mkdir -p $fs/usr
    2.34 -	cp -a $_pkg/usr/bin $fs/usr
    2.35 +	cp -a $install/usr/bin $fs/usr
    2.36  }
     3.1 --- a/xz/receipt	Sun May 20 03:01:49 2012 +0200
     3.2 +++ b/xz/receipt	Sun May 20 03:09:06 2012 +0200
     3.3 @@ -10,22 +10,24 @@
     3.4  WEB_SITE="http://tukaani.org/xz"
     3.5  WGET_URL="$WEB_SITE/$TARBALL"
     3.6  PROVIDE="lzma"
     3.7 +HOST_ARCH="i486 arm"
     3.8  
     3.9  # Rules to configure and make the package.
    3.10  compile_rules()
    3.11  {
    3.12  	cd $src
    3.13 -	./configure $CONFIGURE_ARGS \
    3.14 -	--enable-dynamic=yes --enable-small &&
    3.15 +	./configure \
    3.16 +		--enable-dynamic=yes \
    3.17 +		--enable-small \
    3.18 +		$CONFIGURE_ARGS &&
    3.19  	make && make install
    3.20  }
    3.21  
    3.22 -
    3.23  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.24  genpkg_rules()
    3.25  {
    3.26  	mkdir -p $fs/usr/bin
    3.27 -	cp -a $_pkg/usr/bin/xz $fs/usr/bin
    3.28 +	cp -a $install/usr/bin/xz $fs/usr/bin
    3.29  	#cp $stuff/lzma $fs/usr/bin
    3.30  	#ln -s lzma $fs/usr/bin/unlzma
    3.31  	#ln -s lzma $fs/usr/bin/lzcat