# HG changeset patch # User Christophe Lincoln # Date 1197980468 -3600 # Node ID 83f1d01ed1acd28e69c08d3a72c13b16e77e8caa # Parent 9496fd66a54ad0d28c72179165adbc37531c1195 Add : autoconf, automake, bison, coreutils diff -r 9496fd66a54a -r 83f1d01ed1ac autoconf/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/autoconf/receipt Tue Dec 18 13:21:08 2007 +0100 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="autoconf" +VERSION="2.61" +CATEGORY="devel" +SHORT_DESC="Tool to automatically configure software source code." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.gnu.org/software/autoconf/" +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/share/autoconf $fs/usr/share + strip -s $fs/usr/bin/* 2>/dev/null +} diff -r 9496fd66a54a -r 83f1d01ed1ac automake/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/automake/receipt Tue Dec 18 13:21:08 2007 +0100 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="automake" +VERSION="1.9.6" +CATEGORY="devel" +SHORT_DESC="Tool for automatically generating 'Makefile.in'." +MAINTAINER="pankso@slitaz.org" +DEPENDS="perl" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.gnu.org/software/automake/" +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/share/aclocal-1.9 $fs/usr/share + cp -a $_pkg/usr/share/automake-1.9 $fs/usr/share + strip -s $fs/usr/bin/* 2>/dev/null +} diff -r 9496fd66a54a -r 83f1d01ed1ac bison/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bison/receipt Tue Dec 18 13:21:08 2007 +0100 @@ -0,0 +1,33 @@ +# SliTaz package receipt. + +PACKAGE="bison" +VERSION="2.3" +CATEGORY="devel" +SHORT_DESC="GNU parser generator." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.gnu.org/software/bison/" +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man $CONFIGURE_ARGS + echo '#define YYENABLE_NLS 1' >> config.h + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/locale + cp -a $_pkg/usr/bin $fs/usr + strip -s $fs/usr/bin/* + 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 +} diff -r 9496fd66a54a -r 83f1d01ed1ac coreutils/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/coreutils/receipt Tue Dec 18 13:21:08 2007 +0100 @@ -0,0 +1,60 @@ +# SliTaz package receipt. + +PACKAGE="coreutils" +VERSION="6.9" +CATEGORY="extra" +SHORT_DESC="Utilities for using and setting the basic system." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.gnu.org/software/coreutils/" +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +# +# This is a special package for installed system or developer. We only take +# a fiew things, Busybox provide all the basic utilitie, but not for compiling. +# But DO NOT ecrase a Busybox applet, remove it before with pre_install rules. +# +genpkg_rules() +{ + mkdir -p $fs/usr/bin $fs/usr/share/locale + # Utils... + cp -a $_pkg/usr/bin/base64 $fs/usr/bin + cp -a $_pkg/usr/bin/csplit $fs/usr/bin + cp -a $_pkg/usr/bin/factor $fs/usr/bin + cp -a $_pkg/usr/bin/fmt $fs/usr/bin + cp -a $_pkg/usr/bin/join $fs/usr/bin + cp -a $_pkg/usr/bin/od $fs/usr/bin + cp -a $_pkg/usr/bin/paste $fs/usr/bin + cp -a $_pkg/usr/bin/ptx $fs/usr/bin + cp -a $_pkg/usr/bin/shred $fs/usr/bin + cp -a $_pkg/usr/bin/shuf $fs/usr/bin + cp -a $_pkg/usr/bin/split $fs/usr/bin + cp -a $_pkg/usr/bin/users $fs/usr/bin + strip -s $fs/usr/bin/* 2>/dev/null + # Locale + cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale +} + +# Pre and post install commands for Tazpkg. +# We must remove all Busybox symlink before installing. +# +pre_install() +{ + local root + root=$1 + echo "Processing pre-install commands..." + echo -n "Removing all Busybox reploaced utils... " + rm -f $root/usr/bin/od $root/usr/bin/split + status +}