wok-next rev 11
Add : bzip2, slitaz-tools, sqlite-dev, zlib-dev
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Dec 14 21:19:50 2007 +0100 (2007-12-14) |
parents | 01aa149c1ea9 |
children | 6d220dd6655c |
files | bzip2/receipt slitaz-tools/receipt sqlite-dev/receipt zip/receipt zlib-dev/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/bzip2/receipt Fri Dec 14 21:19:50 2007 +0100 1.3 @@ -0,0 +1,45 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="bzip2" 1.7 +VERSION="1.0.4" 1.8 +CATEGORY="extra" 1.9 +SHORT_DESC="High-quality data compressor." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://www.bzip.org/" 1.13 +WGET_URL="http://www.bzip.org/1.0.4/$TARBALL" 1.14 + 1.15 +# Rules to configure and make the package. 1.16 +compile_rules() 1.17 +{ 1.18 + cd $src 1.19 + make -f Makefile-libbz2_so 1.20 + make clean 1.21 + make 1.22 +} 1.23 + 1.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.25 +genpkg_rules() 1.26 +{ 1.27 + mkdir -p $fs/usr/bin $fs/usr/lib 1.28 + cp -a $src/bzip2-shared $fs/usr/bin/bzip2 1.29 + cp -a $src/libbz2.so* $fs/usr/lib 1.30 + strip --strip-unneeded $fs/usr/bin/* 1.31 + strip --strip-debug $fs/usr/lib/* 1.32 + # Da bunzip2, bzcat and lib symlink. 1.33 + cd $fs/usr/bin 1.34 + ln -s bzip2 bunzip2 1.35 + ln -s bzip2 bzcat 1.36 + cd ../lib 1.37 + ln -s libbz2.so.1.0.4 libbz2.so 1.38 +} 1.39 + 1.40 +# Pre install commands for Tazpkg. 1.41 +# Force remove of an eventual bzcat link to Busybox. 1.42 +pre_install() 1.43 +{ 1.44 + local root 1.45 + root=$1 1.46 + echo "Processing post-install commands..." 1.47 + rm -f $root/usr/bin/bzcat 1.48 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/slitaz-tools/receipt Fri Dec 14 21:19:50 2007 +0100 2.3 @@ -0,0 +1,62 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="slitaz-tools" 2.7 +VERSION="1.4" 2.8 +CATEGORY="extra" 2.9 +SHORT_DESC="SliTaz tools provide Tazlito and Tinyutils." 2.10 +MAINTAINER="pankso@slitaz.org" 2.11 +DEPENDS="slitaz-boot-scripts dialog" 2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.13 +WEB_SITE="http://www.slitaz.org/" 2.14 +WGET_URL="http://download.tuxfamily.org/slitaz/sources/tools/$TARBALL" 2.15 + 2.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.17 +# 2.18 +# This package is all build by genpkg, it provide /usr/share/examples tree, 2.19 +# tazlito, tinyutils, licenses, documentation and artwork. This package 2.20 +# provide also the Firewall deamon/config (/etc/firewall.conf). 2.21 +# 2.22 +genpkg_rules() 2.23 +{ 2.24 + mkdir -p $fs/sbin $fs/usr/bin $fs/usr/sbin $fs/var/spool/cron/crontabs 2.25 + 2.26 + # /rootfs/*. Firewall exemples, licenses and pixmaps. 2.27 + cp -a $src/rootfs/* $fs 2.28 + 2.29 + # Tinyutils. 2.30 + # 2.31 + cp -a $src/tinyutils/tazlocale $fs/sbin 2.32 + cp -a $src/tinyutils/tazkmap $fs/sbin 2.33 + cp -a $src/tinyutils/gztazmod.sh $fs/sbin 2.34 + cp -a $src/tinyutils/tazx $fs/usr/bin 2.35 + cp -a $src/tinyutils/startx $fs/usr/bin 2.36 + cp -a $src/tinyutils/mountbox $fs/usr/bin 2.37 + 2.38 + # Sound config 2.39 + cp -a $src/tinyutils/soundconf $fs/usr/sbin 2.40 + 2.41 + # Installer script (beta) 2.42 + cp -a $src/tinyutils/slitaz-installer.sh $fs/usr/bin 2.43 + 2.44 + chown -R root.root $fs 2.45 + chmod -R 755 $fs/usr/bin 2.46 + chmod -R 755 $fs/sbin 2.47 + 2.48 + # Tools doc in /usr/share/doc/slitaz-tools 2.49 + # Cooking info in /usr/share/doc/slitaz with style and images. 2.50 + # 2.51 + mkdir -p $fs/usr/share/doc/slitaz $fs/usr/share/doc/slitaz-tools 2.52 + cp $src/doc/tazx.txt $fs/usr/share/doc/slitaz-tools 2.53 + cp -a $src/doc/images $fs/usr/share/doc/slitaz 2.54 + cp $src/doc/style.css $fs/usr/share/doc/slitaz 2.55 + cp $src/doc/cooking-info.html $fs/usr/share/doc/slitaz 2.56 +} 2.57 + 2.58 +# Remove obsolet file installed with slitaz-tools-1.3 2.59 +pre_install() 2.60 +{ 2.61 + local root 2.62 + root=$1 2.63 + rm -rf $root/etc/slitaz-tools 2.64 + rm -rf $root/usr/share/doc/slitaz-tools 2.65 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/sqlite-dev/receipt Fri Dec 14 21:19:50 2007 +0100 3.3 @@ -0,0 +1,18 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="sqlite-dev" 3.7 +VERSION="3.5.3" 3.8 +CATEGORY="devel" 3.9 +SHORT_DESC="Small SQL database engine devel files." 3.10 +MAINTAINER="pankso@slitaz.org" 3.11 +WANTED="sqlite" 3.12 +WEB_SITE="http://www.sqlite.org/" 3.13 + 3.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.15 +genpkg_rules() 3.16 +{ 3.17 + mkdir -p $fs/usr/lib 3.18 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 3.19 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 3.20 + cp -a $_pkg/usr/include $fs/usr 3.21 +}
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/zip/receipt Fri Dec 14 21:19:50 2007 +0100 4.3 @@ -0,0 +1,29 @@ 4.4 +# SliTaz package receipt. 4.5 + 4.6 +PACKAGE="zip" 4.7 +VERSION="2.32" 4.8 +CATEGORY="extra" 4.9 +SHORT_DESC="Compressor utilities compatible with the DOS PKZIP." 4.10 +MAINTAINER="pankso@slitaz.org" 4.11 +TARBALL="zip232.tar.gz" 4.12 +WEB_SITE="http://www.info-zip.org/" 4.13 +WGET_URL="ftp://ftp.dante.de/tex-archive/tools/zip/info-zip/src/$TARBALL" 4.14 + 4.15 +# Rules to configure and make the package. 4.16 +compile_rules() 4.17 +{ 4.18 + cd $src 4.19 + make -f unix/Makefile generic_gcc 4.20 +} 4.21 + 4.22 +# Rules to gen a SliTaz package suitable for Tazpkg. 4.23 +genpkg_rules() 4.24 +{ 4.25 + mkdir -p $fs/usr/bin 4.26 + cp -a $src/zip $fs/usr/bin 4.27 + cp -a $src/zipcloak $fs/usr/bin 4.28 + cp -a $src/zipnote $fs/usr/bin 4.29 + cp -a $src/zipsplit $fs/usr/bin 4.30 + strip -s $fs/usr/bin/* 4.31 +} 4.32 +
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/zlib-dev/receipt Fri Dec 14 21:19:50 2007 +0100 5.3 @@ -0,0 +1,29 @@ 5.4 +# SliTaz package receipt. 5.5 + 5.6 +PACKAGE="zlib-dev" 5.7 +VERSION="1.2.3" 5.8 +CATEGORY="devel" 5.9 +SHORT_DESC="Zlib compression library devel files." 5.10 +MAINTAINER="pankso@slitaz.org" 5.11 +WANTED="zlib" 5.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 5.13 +WEB_SITE="http://www.zlib.net/" 5.14 +WGET_URL="http://www.clex.sk/download/$TARBALL" 5.15 + 5.16 +# Rules to configure and make the package. 5.17 +compile_rules() 5.18 +{ 5.19 + cd $src 5.20 + ./configure --prefix=/usr 5.21 + make 5.22 +} 5.23 + 5.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 5.25 +genpkg_rules() 5.26 +{ 5.27 + mkdir -p $fs/usr/lib 5.28 + mkdir -p $fs/usr/include 5.29 + cp -a $src/libz.a $fs/usr/lib 5.30 + cp $src/zconf.h $fs/usr/include 5.31 + cp $src/zlib.h $fs/usr/include 5.32 +}