wok rev 16
Add : slitaz-* receipts
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Dec 18 13:25:11 2007 +0100 (2007-12-18) |
parents | 83f1d01ed1ac |
children | 11b6c0dd4a0c |
files | slitaz-boot-scripts/receipt slitaz-dev-pkgs/receipt slitaz-tango-icon/receipt slitaz-toolchain/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/slitaz-boot-scripts/receipt Tue Dec 18 13:25:11 2007 +0100 1.3 @@ -0,0 +1,63 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="slitaz-boot-scripts" 1.7 +VERSION="1.2" 1.8 +CATEGORY="base-files" 1.9 +SHORT_DESC="Provide all the initialisation scripts used at boot time." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://www.slitaz.org/" 1.13 +WGET_URL="http://download.tuxfamily.org/slitaz/sources/boot-scripts/$TARBALL" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +# 1.17 +# This package is all build by genpkg, it provide the boot scripts found 1.18 +# in /etc/init.d with the main config file : /etc/rcS.conf. It provide also 1.19 +# the default inittab and the network config file used with network.sh 1.20 +# 1.21 +genpkg_rules() 1.22 +{ 1.23 + cp -a $src/etc $fs 1.24 + 1.25 + # Perms 1.26 + chown -R root.root $fs/etc/init.d 1.27 + chmod 755 $fs/etc/init.d/*.sh 1.28 + chmod 755 $fs/etc/init.d/rc* 1.29 +} 1.30 + 1.31 +# Pre install commands for upgrade from 1.2 to 1.3. 1.32 +# 1.33 +pre_install() 1.34 +{ 1.35 + local root 1.36 + root=$1 1.37 + echo "Checking for version compatibility..." 1.38 + if [ -d "$root/etc/rc.d" ]; then 1.39 + rm -rf $root/etc/rc.d 1.40 + rm -rf $root/etc/rc.scripts 1.41 + fi 1.42 + # Remove motd to be rebuils by /etc/init.d/i18n.sh in 1.43 + # the right language. 1.44 + rm -f $root/etc/motd 1.45 + 1.46 + # Backup file to restore with post install 1.47 + echo -n "Creating backups of configs..." 1.48 + cp $root/etc/rcS.conf $root/etc/rcS.conf.bak 1.49 + cp $root/etc/network.conf $root/etc/network.conf.bak 1.50 + cp $root/etc/inittab $root/etc/inittab.bak 1.51 + cp $root/etc/init.d/local.sh $root/etc/init.d/local.sh.bak 1.52 + status 1.53 +} 1.54 + 1.55 +post_install() 1.56 +{ 1.57 + local root 1.58 + root=$1 1.59 + echo -n "Restoring configs backups..." 1.60 + mv -f $root/etc/rcS.conf.bak $root/etc/rcS.conf 1.61 + mv -f $root/etc/network.conf.bak $root/etc/network.conf 1.62 + mv -f $root/etc/inittab.bak $root/etc/inittab 1.63 + mv -f $root/etc/init.d/local.sh.bak $root/etc/init.d/local.sh 1.64 + status 1.65 +} 1.66 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/slitaz-dev-pkgs/receipt Tue Dec 18 13:25:11 2007 +0100 2.3 @@ -0,0 +1,53 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="slitaz-dev-pkgs" 2.7 +VERSION="1.0.1" 2.8 +CATEGORY="devel" 2.9 +SHORT_DESC="Meta-package to install a complet set of devel packages." 2.10 +MAINTAINER="pankso@slitaz.org" 2.11 +WEB_SITE="http://www.slitaz.org/" 2.12 +DEPENDS=" 2.13 +binutils 2.14 +linux-headers 2.15 +gcc 2.16 +make 2.17 +bzip2 2.18 +coreutils 2.19 +bash 2.20 +bison 2.21 +flex 2.22 +libtool 2.23 +gettext 2.24 +m4 2.25 +perl 2.26 +perl-xml-parser 2.27 +ncurses-dev 2.28 +pcre-dev 2.29 +libcap-dev 2.30 +sqlite-dev 2.31 +zlib-dev 2.32 +pkg-config 2.33 +fontconfig-dev 2.34 +freetype-dev 2.35 +glibc-dev 2.36 +libpng-dev 2.37 +jpeg-dev 2.38 +tiff-dev 2.39 +libxml2-dev 2.40 +xorg-dev-proto 2.41 +xorg-dev 2.42 +pango-dev 2.43 +atk-dev 2.44 +cairo-dev 2.45 +expat-dev 2.46 +glib-dev 2.47 +gtk+-dev 2.48 +libIDL 2.49 +zip 2.50 +poppler-dev" 2.51 + 2.52 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.53 +genpkg_rules() 2.54 +{ 2.55 + mkdir $fs/var 2.56 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/slitaz-tango-icon/receipt Tue Dec 18 13:25:11 2007 +0100 3.3 @@ -0,0 +1,19 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="slitaz-tango-icon" 3.7 +VERSION="1.1" 3.8 +CATEGORY="extra" 3.9 +SHORT_DESC="Tango icons unofficial in size 16x16 for GTK+ and jwm." 3.10 +MAINTAINER="pankso@slitaz.org" 3.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 3.12 +WEB_SITE="http://tango.freedesktop.org/" 3.13 +WGET_URL="http://download.tuxfamily.org/slitaz/sources/artwok/$TARBALL" 3.14 + 3.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.16 +genpkg_rules() 3.17 +{ 3.18 + mkdir -p $fs/usr/share/icons 3.19 + cp -a $src/* $fs/usr/share/icons 3.20 + chown -R root.root $fs 3.21 +} 3.22 +
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/slitaz-toolchain/receipt Tue Dec 18 13:25:11 2007 +0100 4.3 @@ -0,0 +1,15 @@ 4.4 +# SliTaz package receipt. 4.5 + 4.6 +PACKAGE="slitaz-toolchain" 4.7 +VERSION="1.0" 4.8 +CATEGORY="extra" 4.9 +SHORT_DESC="SliTaz toolchain meta package for devel." 4.10 +MAINTAINER="pankso@slitaz.org" 4.11 +DEPENDS="binutils linux-headers glibc-dev gcc make" 4.12 +WEB_SITE="http://www.slitaz.org/" 4.13 + 4.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 4.15 +genpkg_rules() 4.16 +{ 4.17 + mkdir -p $fs/var 4.18 +}