wok-next view slitaz-configs/receipt @ rev 333

Miss 'hg add' for abiword-plugins
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 04 17:34:11 2008 +0100 (2008-03-04)
parents
children 508b841c38f4
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-configs"
4 VERSION="1.0"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz JWM config, wallparers and sounds."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.slitaz.org/"
10 WGET_URL="http://download.tuxfamily.org/slitaz/sources/base-files/$TARBALL"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 # Copy all rootfs from the stuff and set permissions.
16 cp -a $src/rootfs/* $fs
17 chown -R root.root $fs/*
18 }
20 # Pre and post install to backup all /etc/settings
21 #
22 pre_install()
23 {
24 local root
25 root=$1
26 echo ""
27 echo "Creating backup of JWM system configuration..."
28 cp -a $root/etc/jwm/system.jwmrc $root/etc/jwm/system.jwmrc.bak 2>/dev/null
29 echo ""
30 }