wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-configs"
4 VERSION="1.1"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz JWM config, wallparers and sounds."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="jwm slitaz-tools xorg-libXcomposite xorg-libXdamage xcompmgr transset-df"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.slitaz.org/"
11 WGET_URL="http://download.tuxfamily.org/slitaz/sources/base-files/$TARBALL"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 # Copy all rootfs from the stuff and set permissions.
17 cp -a $src/rootfs/* $fs
18 chown -R root.root $fs/*
19 }
21 # Pre and post install to backup all current JWM config.
22 #
23 pre_install()
24 {
25 local root
26 root=$1
27 echo ""
28 echo "Creating backup of JWM system configuration..."
29 cp -a $root/etc/jwm/system.jwmrc $root/etc/jwm/system.jwmrc.bak 2>/dev/null
30 echo ""
31 }