wok-stable rev 506
ADD: slang, slang-dev, ntpclient, bzip2-dev
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Mar 31 23:50:23 2008 +0200 (2008-03-31) |
parents | 6a766fc831e1 |
children | aa87a24d1e82 |
files | bzip2-dev/receipt lshw/receipt ntpclient/receipt slang-dev/receipt slang/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/bzip2-dev/receipt Mon Mar 31 23:50:23 2008 +0200 1.3 @@ -0,0 +1,20 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="bzip2-dev" 1.7 +VERSION="1.0.4" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="High-quality data compressor dev files." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WANTED="bzip2" 1.13 +WEB_SITE="http://www.bzip.org/" 1.14 + 1.15 + 1.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 +genpkg_rules() 1.18 +{ 1.19 + mkdir -p $fs/usr/include $fs/usr/lib 1.20 + cp -a $src/*.h $fs/usr/include 1.21 + cp -a $src/*.*a $fs/usr/lib 1.22 +} 1.23 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/lshw/receipt Mon Mar 31 23:50:23 2008 +0200 2.3 @@ -0,0 +1,30 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="lshw" 2.7 +VERSION="B.02.12.01" 2.8 +CATEGORY="system-tools" 2.9 +SHORT_DESC="Hardware Lister" 2.10 +MAINTAINER="Erjo <erjo@slitaz.org>" 2.11 +DEPENDS="" 2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.13 +WEB_SITE="http://ezix.org/project/wiki/HardwareLiSter" 2.14 +WGET_URL="http://ezix.org/software/files/$TARBALL" 2.15 + 2.16 +# Rules to configure and make the package. 2.17 +compile_rules() 2.18 +{ 2.19 + cd $src 2.20 + make 2.21 + make DESTDIR=$PWD/_pkg install 2.22 +} 2.23 + 2.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.25 +genpkg_rules() 2.26 +{ 2.27 + mkdir -p $fs/usr/share 2.28 + cp -a $_pkg/usr/sbin $fs/usr 2.29 + cp -a $_pkg/usr/share/lshw $fs/usr/share 2.30 + 2.31 + strip -s $fs/usr/sbin/* 2.32 +} 2.33 +
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/ntpclient/receipt Mon Mar 31 23:50:23 2008 +0200 3.3 @@ -0,0 +1,51 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="ntpclient" 3.7 +VERSION="2000_339" 3.8 +CATEGORY="system-tools" 3.9 +SHORT_DESC="Tiny NTP Client" 3.10 +MAINTAINER="Erjo <erjo@slitaz.org>" 3.11 +DEPENDS="" 3.12 +TARBALL="${PACKAGE}_${VERSION}.tar.gz" 3.13 +WEB_SITE="http://www.busybox.net/tinyutils.html" 3.14 +WGET_URL="http://doolittle.icarus.com/ntpclient/$TARBALL" 3.15 + 3.16 +# Rules to configure and make the package. 3.17 +compile_rules() 3.18 +{ 3.19 + src=$PACKAGE 3.20 + cd $src 3.21 + make 3.22 +} 3.23 + 3.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.25 +genpkg_rules() 3.26 +{ 3.27 + src=$PACKAGE 3.28 + mkdir -p $fs/usr/bin 3.29 + cp -a $src/ntpclient $fs/usr/bin 3.30 + strip -s $fs/usr/bin/* 3.31 +} 3.32 + 3.33 + 3.34 +clen_rules() 3.35 +{ 3.36 + rm -rf $PWD/$PACKAGE 3.37 +} 3.38 + 3.39 +post_install() 3.40 +{ 3.41 + local root 3.42 + echo "" 3.43 + echo -n "Do you want to run ntpclient in automatic mode (y/N): "; read anser 3.44 + if [ "$anser" == "y" ]; then 3.45 + srv="fr.pool.ntp.org" 3.46 + echo "" 3.47 + echo -n "Setting up crontab for ntpclient..." 3.48 + echo "0 0 * * * $root/usr/bin/ntpclient -s -h $srv" | crontab -u root - 3.49 + status 3.50 + else 3.51 + echo "Don't forget to run ntpclient -s -h <NTP Server>" 3.52 + fi 3.53 +} 3.54 +
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/slang-dev/receipt Mon Mar 31 23:50:23 2008 +0200 4.3 @@ -0,0 +1,21 @@ 4.4 +# SliTaz package receipt. 4.5 + 4.6 +PACKAGE="slang-dev" 4.7 +VERSION="2.1.3" 4.8 +CATEGORY="development" 4.9 +SHORT_DESC="S-Lang library dev files" 4.10 +MAINTAINER="Erjo <erjo@slitaz.org>" 4.11 +DEPENDS="" 4.12 +WANTED="slang" 4.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 4.14 +WEB_SITE="http://www.s-lang.org/index.html" 4.15 + 4.16 + 4.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 4.18 +genpkg_rules() 4.19 +{ 4.20 + mkdir -p $fs/usr/lib 4.21 + cp -a $_pkg/usr/include $fs/usr 4.22 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 4.23 +} 4.24 +
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/slang/receipt Mon Mar 31 23:50:23 2008 +0200 5.3 @@ -0,0 +1,33 @@ 5.4 +# SliTaz package receipt. 5.5 + 5.6 +PACKAGE="slang" 5.7 +VERSION="2.1.3" 5.8 +CATEGORY="development" 5.9 +SHORT_DESC="S-Lang library" 5.10 +MAINTAINER="Erjo <erjo@slitaz.org>" 5.11 +DEPENDS="" 5.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 5.13 +WEB_SITE="http://www.s-lang.org/index.html" 5.14 +WGET_URL="ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v2.1/$TARBALL 5.15 + ftp://space.mit.edu/pub/davis/slang/v2.1/$TARBALL" 5.16 + 5.17 +# Rules to configure and make the package. 5.18 +compile_rules() 5.19 +{ 5.20 + cd $src 5.21 + ./configure --prefix=/usr $CONFIGURE_ARGS 5.22 + make && \ 5.23 + make elf && \ 5.24 + make static 5.25 + make DESTDIR=$PWD/_pkg install install-static 5.26 +} 5.27 + 5.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 5.29 +genpkg_rules() 5.30 +{ 5.31 + mkdir -p $fs/usr 5.32 + cp -a $_pkg/usr/bin $fs/usr 5.33 + cp -a $_pkg/usr/lib $fs/usr 5.34 + strip -s $fs/usr/bin/* 5.35 +} 5.36 +