# HG changeset patch # User Christophe Lincoln # Date 1197663590 -3600 # Node ID 534cedd9d753f5d81f761c81890d6f6de64c3a74 # Parent 01aa149c1ea98703c86b7e599fddd811845313d5 Add : bzip2, slitaz-tools, sqlite-dev, zlib-dev diff -r 01aa149c1ea9 -r 534cedd9d753 bzip2/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bzip2/receipt Fri Dec 14 21:19:50 2007 +0100 @@ -0,0 +1,45 @@ +# SliTaz package receipt. + +PACKAGE="bzip2" +VERSION="1.0.4" +CATEGORY="extra" +SHORT_DESC="High-quality data compressor." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.bzip.org/" +WGET_URL="http://www.bzip.org/1.0.4/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + make -f Makefile-libbz2_so + make clean + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin $fs/usr/lib + cp -a $src/bzip2-shared $fs/usr/bin/bzip2 + cp -a $src/libbz2.so* $fs/usr/lib + strip --strip-unneeded $fs/usr/bin/* + strip --strip-debug $fs/usr/lib/* + # Da bunzip2, bzcat and lib symlink. + cd $fs/usr/bin + ln -s bzip2 bunzip2 + ln -s bzip2 bzcat + cd ../lib + ln -s libbz2.so.1.0.4 libbz2.so +} + +# Pre install commands for Tazpkg. +# Force remove of an eventual bzcat link to Busybox. +pre_install() +{ + local root + root=$1 + echo "Processing post-install commands..." + rm -f $root/usr/bin/bzcat +} diff -r 01aa149c1ea9 -r 534cedd9d753 slitaz-tools/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-tools/receipt Fri Dec 14 21:19:50 2007 +0100 @@ -0,0 +1,62 @@ +# SliTaz package receipt. + +PACKAGE="slitaz-tools" +VERSION="1.4" +CATEGORY="extra" +SHORT_DESC="SliTaz tools provide Tazlito and Tinyutils." +MAINTAINER="pankso@slitaz.org" +DEPENDS="slitaz-boot-scripts dialog" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.slitaz.org/" +WGET_URL="http://download.tuxfamily.org/slitaz/sources/tools/$TARBALL" + +# Rules to gen a SliTaz package suitable for Tazpkg. +# +# This package is all build by genpkg, it provide /usr/share/examples tree, +# tazlito, tinyutils, licenses, documentation and artwork. This package +# provide also the Firewall deamon/config (/etc/firewall.conf). +# +genpkg_rules() +{ + mkdir -p $fs/sbin $fs/usr/bin $fs/usr/sbin $fs/var/spool/cron/crontabs + + # /rootfs/*. Firewall exemples, licenses and pixmaps. + cp -a $src/rootfs/* $fs + + # Tinyutils. + # + cp -a $src/tinyutils/tazlocale $fs/sbin + cp -a $src/tinyutils/tazkmap $fs/sbin + cp -a $src/tinyutils/gztazmod.sh $fs/sbin + cp -a $src/tinyutils/tazx $fs/usr/bin + cp -a $src/tinyutils/startx $fs/usr/bin + cp -a $src/tinyutils/mountbox $fs/usr/bin + + # Sound config + cp -a $src/tinyutils/soundconf $fs/usr/sbin + + # Installer script (beta) + cp -a $src/tinyutils/slitaz-installer.sh $fs/usr/bin + + chown -R root.root $fs + chmod -R 755 $fs/usr/bin + chmod -R 755 $fs/sbin + + # Tools doc in /usr/share/doc/slitaz-tools + # Cooking info in /usr/share/doc/slitaz with style and images. + # + mkdir -p $fs/usr/share/doc/slitaz $fs/usr/share/doc/slitaz-tools + cp $src/doc/tazx.txt $fs/usr/share/doc/slitaz-tools + cp -a $src/doc/images $fs/usr/share/doc/slitaz + cp $src/doc/style.css $fs/usr/share/doc/slitaz + cp $src/doc/cooking-info.html $fs/usr/share/doc/slitaz +} + +# Remove obsolet file installed with slitaz-tools-1.3 +pre_install() +{ + local root + root=$1 + rm -rf $root/etc/slitaz-tools + rm -rf $root/usr/share/doc/slitaz-tools +} diff -r 01aa149c1ea9 -r 534cedd9d753 sqlite-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sqlite-dev/receipt Fri Dec 14 21:19:50 2007 +0100 @@ -0,0 +1,18 @@ +# SliTaz package receipt. + +PACKAGE="sqlite-dev" +VERSION="3.5.3" +CATEGORY="devel" +SHORT_DESC="Small SQL database engine devel files." +MAINTAINER="pankso@slitaz.org" +WANTED="sqlite" +WEB_SITE="http://www.sqlite.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr +} diff -r 01aa149c1ea9 -r 534cedd9d753 zip/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zip/receipt Fri Dec 14 21:19:50 2007 +0100 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="zip" +VERSION="2.32" +CATEGORY="extra" +SHORT_DESC="Compressor utilities compatible with the DOS PKZIP." +MAINTAINER="pankso@slitaz.org" +TARBALL="zip232.tar.gz" +WEB_SITE="http://www.info-zip.org/" +WGET_URL="ftp://ftp.dante.de/tex-archive/tools/zip/info-zip/src/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + make -f unix/Makefile generic_gcc +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/bin + cp -a $src/zip $fs/usr/bin + cp -a $src/zipcloak $fs/usr/bin + cp -a $src/zipnote $fs/usr/bin + cp -a $src/zipsplit $fs/usr/bin + strip -s $fs/usr/bin/* +} + diff -r 01aa149c1ea9 -r 534cedd9d753 zlib-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zlib-dev/receipt Fri Dec 14 21:19:50 2007 +0100 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="zlib-dev" +VERSION="1.2.3" +CATEGORY="devel" +SHORT_DESC="Zlib compression library devel files." +MAINTAINER="pankso@slitaz.org" +WANTED="zlib" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.zlib.net/" +WGET_URL="http://www.clex.sk/download/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr + make +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + mkdir -p $fs/usr/include + cp -a $src/libz.a $fs/usr/lib + cp $src/zconf.h $fs/usr/include + cp $src/zlib.h $fs/usr/include +}