wok view slitaz-configs/receipt @ rev 2988
Up: transmission-* (1.60)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon May 11 15:47:09 2009 +0200 (2009-05-11) |
parents | e21d9d3b7188 |
children | a981c1bb393d |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-configs"
4 VERSION="2.8"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz config files, wallpaper 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 lxtask lxpanel lxappearance
10 ttf-dejavu pcmanfm openbox obconf slitaz-tools-boxes slitaz-menus"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://www.slitaz.org/"
13 WGET_URL="http://mirror.slitaz.org/sources/configs/$TARBALL"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 # Copy all rootfs from the stuff and set permissions.
19 cp -a $src/rootfs/* $fs
20 chown -R root.root $fs
21 chmod 0750 $fs/root
22 }
24 post_install()
25 {
26 # By default slim provide a base theme and config file have both
27 # base and slitaz who will be choose randomly, so make sure we use
28 # only slitaz theme.
29 if grep -q 'current_theme slitaz,base' $1/etc/slim.conf; then
30 sed -i s/"current_theme .*"/"current_theme slitaz"/ \
31 $1/etc/slim.conf
32 fi
33 }