# HG changeset patch # User Christophe Lincoln # Date 1197980711 -3600 # Node ID 205636471fd3af910e8b13360b79fea1ed5a6d98 # Parent 83f1d01ed1acd28e69c08d3a72c13b16e77e8caa Add : slitaz-* receipts diff -r 83f1d01ed1ac -r 205636471fd3 slitaz-boot-scripts/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-boot-scripts/receipt Tue Dec 18 13:25:11 2007 +0100 @@ -0,0 +1,63 @@ +# SliTaz package receipt. + +PACKAGE="slitaz-boot-scripts" +VERSION="1.2" +CATEGORY="base-files" +SHORT_DESC="Provide all the initialisation scripts used at boot time." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.slitaz.org/" +WGET_URL="http://download.tuxfamily.org/slitaz/sources/boot-scripts/$TARBALL" + +# Rules to gen a SliTaz package suitable for Tazpkg. +# +# This package is all build by genpkg, it provide the boot scripts found +# in /etc/init.d with the main config file : /etc/rcS.conf. It provide also +# the default inittab and the network config file used with network.sh +# +genpkg_rules() +{ + cp -a $src/etc $fs + + # Perms + chown -R root.root $fs/etc/init.d + chmod 755 $fs/etc/init.d/*.sh + chmod 755 $fs/etc/init.d/rc* +} + +# Pre install commands for upgrade from 1.2 to 1.3. +# +pre_install() +{ + local root + root=$1 + echo "Checking for version compatibility..." + if [ -d "$root/etc/rc.d" ]; then + rm -rf $root/etc/rc.d + rm -rf $root/etc/rc.scripts + fi + # Remove motd to be rebuils by /etc/init.d/i18n.sh in + # the right language. + rm -f $root/etc/motd + + # Backup file to restore with post install + echo -n "Creating backups of configs..." + cp $root/etc/rcS.conf $root/etc/rcS.conf.bak + cp $root/etc/network.conf $root/etc/network.conf.bak + cp $root/etc/inittab $root/etc/inittab.bak + cp $root/etc/init.d/local.sh $root/etc/init.d/local.sh.bak + status +} + +post_install() +{ + local root + root=$1 + echo -n "Restoring configs backups..." + mv -f $root/etc/rcS.conf.bak $root/etc/rcS.conf + mv -f $root/etc/network.conf.bak $root/etc/network.conf + mv -f $root/etc/inittab.bak $root/etc/inittab + mv -f $root/etc/init.d/local.sh.bak $root/etc/init.d/local.sh + status +} + diff -r 83f1d01ed1ac -r 205636471fd3 slitaz-dev-pkgs/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-dev-pkgs/receipt Tue Dec 18 13:25:11 2007 +0100 @@ -0,0 +1,53 @@ +# SliTaz package receipt. + +PACKAGE="slitaz-dev-pkgs" +VERSION="1.0.1" +CATEGORY="devel" +SHORT_DESC="Meta-package to install a complet set of devel packages." +MAINTAINER="pankso@slitaz.org" +WEB_SITE="http://www.slitaz.org/" +DEPENDS=" +binutils +linux-headers +gcc +make +bzip2 +coreutils +bash +bison +flex +libtool +gettext +m4 +perl +perl-xml-parser +ncurses-dev +pcre-dev +libcap-dev +sqlite-dev +zlib-dev +pkg-config +fontconfig-dev +freetype-dev +glibc-dev +libpng-dev +jpeg-dev +tiff-dev +libxml2-dev +xorg-dev-proto +xorg-dev +pango-dev +atk-dev +cairo-dev +expat-dev +glib-dev +gtk+-dev +libIDL +zip +poppler-dev" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir $fs/var +} diff -r 83f1d01ed1ac -r 205636471fd3 slitaz-tango-icon/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-tango-icon/receipt Tue Dec 18 13:25:11 2007 +0100 @@ -0,0 +1,19 @@ +# SliTaz package receipt. + +PACKAGE="slitaz-tango-icon" +VERSION="1.1" +CATEGORY="extra" +SHORT_DESC="Tango icons unofficial in size 16x16 for GTK+ and jwm." +MAINTAINER="pankso@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://tango.freedesktop.org/" +WGET_URL="http://download.tuxfamily.org/slitaz/sources/artwok/$TARBALL" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/icons + cp -a $src/* $fs/usr/share/icons + chown -R root.root $fs +} + diff -r 83f1d01ed1ac -r 205636471fd3 slitaz-toolchain/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/slitaz-toolchain/receipt Tue Dec 18 13:25:11 2007 +0100 @@ -0,0 +1,15 @@ +# SliTaz package receipt. + +PACKAGE="slitaz-toolchain" +VERSION="1.0" +CATEGORY="extra" +SHORT_DESC="SliTaz toolchain meta package for devel." +MAINTAINER="pankso@slitaz.org" +DEPENDS="binutils linux-headers glibc-dev gcc make" +WEB_SITE="http://www.slitaz.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/var +}