wok view slitaz-configs/receipt @ rev 378

slitaz-configs: fix DEPENDS
author Christophe Lincoln <pankso@slitaz.org>
date Sat Mar 08 15:57:11 2008 +0100 (2008-03-08)
parents 508b841c38f4
children c73a2c4d1620
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 xorg-xcompmgr
9 transset-df tazlito tazpkg"
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 }