# HG changeset patch # User Christophe Lincoln # Date 1337476146 -7200 # Node ID fc477d1ae77ba002a63697d8e596b06f0d5da7d9 # Parent 833b46d85d4d074cea9b07f5bd6a0ad38fabc3c0 Add bison, m4 and xz to ARM arch diff -r 833b46d85d4d -r fc477d1ae77b bison/receipt --- a/bison/receipt Sun May 20 03:01:49 2012 +0200 +++ b/bison/receipt Sun May 20 03:09:06 2012 +0200 @@ -9,6 +9,7 @@ WEB_SITE="http://www.gnu.org/software/bison/" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" TAGS="parser language" +HOST_ARCH="i486 arm" DEPENDS="m4" BUILD_DEPENDS="m4" @@ -25,10 +26,9 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/share/locale - cp -a $_pkg/usr/bin $fs/usr - cp -a $_pkg/usr/lib $fs/usr - cp -a $_pkg/usr/share/aclocal $fs/usr/share - cp -a $_pkg/usr/share/bison $fs/usr/share - cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale + mkdir -p $fs/usr/share + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib $fs/usr + cp -a $install/usr/share/aclocal $fs/usr/share + cp -a $install/usr/share/bison $fs/usr/share } diff -r 833b46d85d4d -r fc477d1ae77b m4/receipt --- a/m4/receipt Sun May 20 03:01:49 2012 +0200 +++ b/m4/receipt Sun May 20 03:09:06 2012 +0200 @@ -8,23 +8,16 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.gnu.org/software/m4/" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" +HOST_ARCH="i486 arm" DEPENDS="glibc-base" -BUILD_DEPENDS="gcc" - -# Rules to compile & install the temporary toolchain by Tazwok. -cook_tmp_toolchain() -{ - cd $src - ./configure && make && make install -} - +BUILD_DEPENDS="" # Rules to configure and make the package. compile_rules() { cd $src - ./configure --build=$HOST_SYSTEM --host=$HOST_SYSTEM && + ./configure $CONFIGURE_ARGS && make && make install } @@ -32,5 +25,5 @@ genpkg_rules() { mkdir -p $fs/usr - cp -a $_pkg/usr/bin $fs/usr + cp -a $install/usr/bin $fs/usr } diff -r 833b46d85d4d -r fc477d1ae77b xz/receipt --- a/xz/receipt Sun May 20 03:01:49 2012 +0200 +++ b/xz/receipt Sun May 20 03:09:06 2012 +0200 @@ -10,22 +10,24 @@ WEB_SITE="http://tukaani.org/xz" WGET_URL="$WEB_SITE/$TARBALL" PROVIDE="lzma" +HOST_ARCH="i486 arm" # Rules to configure and make the package. compile_rules() { cd $src - ./configure $CONFIGURE_ARGS \ - --enable-dynamic=yes --enable-small && + ./configure \ + --enable-dynamic=yes \ + --enable-small \ + $CONFIGURE_ARGS && make && make install } - # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin - cp -a $_pkg/usr/bin/xz $fs/usr/bin + cp -a $install/usr/bin/xz $fs/usr/bin #cp $stuff/lzma $fs/usr/bin #ln -s lzma $fs/usr/bin/unlzma #ln -s lzma $fs/usr/bin/lzcat