wok-current view slitaz-configs/receipt @ rev 376

Improved Openbox default menu
author Christophe Lincoln <pankso@slitaz.org>
date Sat Mar 08 15:27:14 2008 +0100 (2008-03-08)
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 }