wok view slitaz-configs/receipt @ rev 583

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