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