wok-4.x view slitaz-configs/receipt @ rev 568
busybox/cpio: avoid newer or same age file exists for directory
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 13 11:53:53 2008 +0000 (2008-04-13) |
parents | 6449ec49f01a |
children | 939fff6b5e25 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-configs"
4 VERSION="1.4"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz JWM config, wallparer and login sound."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="slitaz-tools xorg-libXcomposite xorg-libXdamage xorg-xcompmgr
9 transset-df tazlito tazpkg slitaz-doc"
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 }