wok-next view slitaz-configs/receipt @ rev 12256
Up: slitaz-base-files (5.0) - Back to a cooking stat (WARNING: only toolchain and it deps must be updated for now)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 10 17:37:42 2012 +0200 (2012-04-10) |
parents | 9478b25a5f96 |
children | 6b7abf333e39 |
line source
1 # SliTaz package receipt.
3 PACKAGE="slitaz-configs"
4 VERSION="4.9.1"
5 CATEGORY="base-system"
6 SHORT_DESC="SliTaz config files, wallpaper and login sound."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.slitaz.org/"
10 WGET_URL="http://mirror.slitaz.org/sources/configs/$TARBALL"
12 DEPENDS="slitaz-configs-base xorg-libXcomposite xorg-libXdamage xorg-xcompmgr \
13 transset-df lxtask lxpanel lxappearance ttf-dejavu pcmanfm slitaz-tools-boxes \
14 clearlooks slim"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 # Copy rootfs files from the stuff and set permissions.
20 mkdir -p $fs/etc/xdg/openbox
21 for f in menu.en.xml menu.xml autostart.sh rc.xml
22 do
23 cp -a $src/rootfs/etc/xdg/openbox/$f $fs/etc/xdg/openbox
24 done
25 cp -a $src/rootfs/etc/lxpanel $fs/etc
26 chown -R root.root $fs
27 }
29 post_install()
30 {
31 # By default slim provide a base theme and config file have both
32 # base and slitaz who will be choose randomly, so make sure we use
33 # only slitaz theme.
34 if grep -q 'current_theme slitaz,base' $1/etc/slim.conf; then
35 sed -i s/"current_theme .*"/"current_theme slitaz"/ \
36 $1/etc/slim.conf
37 fi
38 }