wok annotate slitaz-configs/receipt @ rev 428

Up: slitaz-configs (1.3) and tazusb (1.2)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Mar 13 21:18:51 2008 +0100 (2008-03-13)
parents c73a2c4d1620
children 94703c196f5f
rev   line source
pankso@274 1 # SliTaz package receipt.
pankso@274 2
pankso@274 3 PACKAGE="slitaz-configs"
pankso@428 4 VERSION="1.3"
pankso@274 5 CATEGORY="base-system"
pankso@274 6 SHORT_DESC="SliTaz JWM config, wallparers and sounds."
pankso@274 7 MAINTAINER="pankso@slitaz.org"
pankso@378 8 DEPENDS="jwm 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 }