wok-4.x rev 15
Add : autoconf, automake, bison, coreutils
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Dec 18 13:21:08 2007 +0100 (2007-12-18) |
parents | 9496fd66a54a |
children | 205636471fd3 |
files | autoconf/receipt automake/receipt bison/receipt coreutils/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/autoconf/receipt Tue Dec 18 13:21:08 2007 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="autoconf" 1.7 +VERSION="2.61" 1.8 +CATEGORY="devel" 1.9 +SHORT_DESC="Tool to automatically configure software source code." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.12 +WEB_SITE="http://www.gnu.org/software/autoconf/" 1.13 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.14 + 1.15 +# Rules to configure and make the package. 1.16 +compile_rules() 1.17 +{ 1.18 + cd $src 1.19 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.20 + --mandir=/usr/share/man $CONFIGURE_ARGS 1.21 + make 1.22 + make DESTDIR=$PWD/_pkg install 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs/usr/share 1.29 + cp -a $_pkg/usr/bin $fs/usr 1.30 + cp -a $_pkg/usr/share/autoconf $fs/usr/share 1.31 + strip -s $fs/usr/bin/* 2>/dev/null 1.32 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/automake/receipt Tue Dec 18 13:21:08 2007 +0100 2.3 @@ -0,0 +1,31 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="automake" 2.7 +VERSION="1.9.6" 2.8 +CATEGORY="devel" 2.9 +SHORT_DESC="Tool for automatically generating 'Makefile.in'." 2.10 +MAINTAINER="pankso@slitaz.org" 2.11 +DEPENDS="perl" 2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.13 +WEB_SITE="http://www.gnu.org/software/automake/" 2.14 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 2.15 + 2.16 +# Rules to configure and make the package. 2.17 +compile_rules() 2.18 +{ 2.19 + cd $src 2.20 + ./configure --prefix=/usr --infodir=/usr/share/info \ 2.21 + --mandir=/usr/share/man $CONFIGURE_ARGS 2.22 + make 2.23 + make DESTDIR=$PWD/_pkg install 2.24 +} 2.25 + 2.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.27 +genpkg_rules() 2.28 +{ 2.29 + mkdir -p $fs/usr/share 2.30 + cp -a $_pkg/usr/bin $fs/usr 2.31 + cp -a $_pkg/usr/share/aclocal-1.9 $fs/usr/share 2.32 + cp -a $_pkg/usr/share/automake-1.9 $fs/usr/share 2.33 + strip -s $fs/usr/bin/* 2>/dev/null 2.34 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/bison/receipt Tue Dec 18 13:21:08 2007 +0100 3.3 @@ -0,0 +1,33 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="bison" 3.7 +VERSION="2.3" 3.8 +CATEGORY="devel" 3.9 +SHORT_DESC="GNU parser generator." 3.10 +MAINTAINER="pankso@slitaz.org" 3.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 3.12 +WEB_SITE="http://www.gnu.org/software/bison/" 3.13 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 3.14 + 3.15 +# Rules to configure and make the package. 3.16 +compile_rules() 3.17 +{ 3.18 + cd $src 3.19 + ./configure --prefix=/usr --infodir=/usr/share/info \ 3.20 + --mandir=/usr/share/man $CONFIGURE_ARGS 3.21 + echo '#define YYENABLE_NLS 1' >> config.h 3.22 + make 3.23 + make DESTDIR=$PWD/_pkg install 3.24 +} 3.25 + 3.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.27 +genpkg_rules() 3.28 +{ 3.29 + mkdir -p $fs/usr/share/locale 3.30 + cp -a $_pkg/usr/bin $fs/usr 3.31 + strip -s $fs/usr/bin/* 3.32 + cp -a $_pkg/usr/lib $fs/usr 3.33 + cp -a $_pkg/usr/share/aclocal $fs/usr/share 3.34 + cp -a $_pkg/usr/share/bison $fs/usr/share 3.35 + cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale 3.36 +}
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/coreutils/receipt Tue Dec 18 13:21:08 2007 +0100 4.3 @@ -0,0 +1,60 @@ 4.4 +# SliTaz package receipt. 4.5 + 4.6 +PACKAGE="coreutils" 4.7 +VERSION="6.9" 4.8 +CATEGORY="extra" 4.9 +SHORT_DESC="Utilities for using and setting the basic system." 4.10 +MAINTAINER="pankso@slitaz.org" 4.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 4.12 +WEB_SITE="http://www.gnu.org/software/coreutils/" 4.13 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 4.14 + 4.15 +# Rules to configure and make the package. 4.16 +compile_rules() 4.17 +{ 4.18 + cd $src 4.19 + ./configure --prefix=/usr --infodir=/usr/share/info \ 4.20 + --mandir=/usr/share/man $CONFIGURE_ARGS 4.21 + make 4.22 + make DESTDIR=$PWD/_pkg install 4.23 +} 4.24 + 4.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 4.26 +# 4.27 +# This is a special package for installed system or developer. We only take 4.28 +# a fiew things, Busybox provide all the basic utilitie, but not for compiling. 4.29 +# But DO NOT ecrase a Busybox applet, remove it before with pre_install rules. 4.30 +# 4.31 +genpkg_rules() 4.32 +{ 4.33 + mkdir -p $fs/usr/bin $fs/usr/share/locale 4.34 + # Utils... 4.35 + cp -a $_pkg/usr/bin/base64 $fs/usr/bin 4.36 + cp -a $_pkg/usr/bin/csplit $fs/usr/bin 4.37 + cp -a $_pkg/usr/bin/factor $fs/usr/bin 4.38 + cp -a $_pkg/usr/bin/fmt $fs/usr/bin 4.39 + cp -a $_pkg/usr/bin/join $fs/usr/bin 4.40 + cp -a $_pkg/usr/bin/od $fs/usr/bin 4.41 + cp -a $_pkg/usr/bin/paste $fs/usr/bin 4.42 + cp -a $_pkg/usr/bin/ptx $fs/usr/bin 4.43 + cp -a $_pkg/usr/bin/shred $fs/usr/bin 4.44 + cp -a $_pkg/usr/bin/shuf $fs/usr/bin 4.45 + cp -a $_pkg/usr/bin/split $fs/usr/bin 4.46 + cp -a $_pkg/usr/bin/users $fs/usr/bin 4.47 + strip -s $fs/usr/bin/* 2>/dev/null 4.48 + # Locale 4.49 + cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale 4.50 +} 4.51 + 4.52 +# Pre and post install commands for Tazpkg. 4.53 +# We must remove all Busybox symlink before installing. 4.54 +# 4.55 +pre_install() 4.56 +{ 4.57 + local root 4.58 + root=$1 4.59 + echo "Processing pre-install commands..." 4.60 + echo -n "Removing all Busybox reploaced utils... " 4.61 + rm -f $root/usr/bin/od $root/usr/bin/split 4.62 + status 4.63 +}