wok annotate slitaz-configs/receipt @ rev 473

Up: slitaz-configs (1.4) + slitaz-boot-scripts (1.8.1)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Mar 21 14:01:39 2008 +0100 (2008-03-21)
parents 6449ec49f01a
children 939fff6b5e25
rev   line source
pankso@274 1 # SliTaz package receipt.
pankso@274 2
pankso@274 3 PACKAGE="slitaz-configs"
pankso@473 4 VERSION="1.4"
pankso@274 5 CATEGORY="base-system"
pankso@473 6 SHORT_DESC="SliTaz JWM config, wallparer and login sound."
pankso@274 7 MAINTAINER="pankso@slitaz.org"
pankso@473 8 DEPENDS="slitaz-tools xorg-libXcomposite xorg-libXdamage xorg-xcompmgr
pankso@428 9 transset-df tazlito tazpkg slitaz-doc"
pankso@274 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@274 11 WEB_SITE="http://www.slitaz.org/"
pankso@274 12 WGET_URL="http://download.tuxfamily.org/slitaz/sources/base-files/$TARBALL"
pankso@274 13
pankso@274 14 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@274 15 genpkg_rules()
pankso@274 16 {
pankso@274 17 # Copy all rootfs from the stuff and set permissions.
pankso@274 18 cp -a $src/rootfs/* $fs
pankso@274 19 chown -R root.root $fs/*
pankso@274 20 }
pankso@274 21
pankso@360 22 # Pre and post install to backup all current JWM config.
pankso@274 23 #
pankso@274 24 pre_install()
pankso@274 25 {
pankso@274 26 local root
pankso@274 27 root=$1
pankso@274 28 echo ""
pankso@274 29 echo "Creating backup of JWM system configuration..."
pankso@274 30 cp -a $root/etc/jwm/system.jwmrc $root/etc/jwm/system.jwmrc.bak 2>/dev/null
pankso@274 31 echo ""
pankso@274 32 }