wok annotate slitaz-configs/receipt @ rev 360

Up: slitaz-configs (1.1)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Mar 07 16:43:47 2008 +0100 (2008-03-07)
parents cb1ff4692987
children 61cf576edb7b
rev   line source
pankso@274 1 # SliTaz package receipt.
pankso@274 2
pankso@274 3 PACKAGE="slitaz-configs"
pankso@360 4 VERSION="1.1"
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@360 8 DEPENDS="jwm slitaz-tools xorg-libXcomposite xorg-libXdamage xcompmgr transset-df"
pankso@274 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@274 10 WEB_SITE="http://www.slitaz.org/"
pankso@274 11 WGET_URL="http://download.tuxfamily.org/slitaz/sources/base-files/$TARBALL"
pankso@274 12
pankso@274 13 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@274 14 genpkg_rules()
pankso@274 15 {
pankso@274 16 # Copy all rootfs from the stuff and set permissions.
pankso@274 17 cp -a $src/rootfs/* $fs
pankso@274 18 chown -R root.root $fs/*
pankso@274 19 }
pankso@274 20
pankso@360 21 # Pre and post install to backup all current JWM config.
pankso@274 22 #
pankso@274 23 pre_install()
pankso@274 24 {
pankso@274 25 local root
pankso@274 26 root=$1
pankso@274 27 echo ""
pankso@274 28 echo "Creating backup of JWM system configuration..."
pankso@274 29 cp -a $root/etc/jwm/system.jwmrc $root/etc/jwm/system.jwmrc.bak 2>/dev/null
pankso@274 30 echo ""
pankso@274 31 }