wok annotate slitaz-configs/receipt @ rev 12411

Up: slitaz-configs (5.0) Buch of new change and less deps (use lxde meta packages in flavors :-)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 20 18:14:53 2012 +0200 (2012-04-20)
parents f47aa70f47f3
children 7fed8c0a235d
rev   line source
pankso@274 1 # SliTaz package receipt.
pankso@274 2
pankso@274 3 PACKAGE="slitaz-configs"
pankso@12411 4 VERSION="5.0"
pankso@274 5 CATEGORY="base-system"
pankso@12411 6 SHORT_DESC="SliTaz config files and artwork."
pankso@274 7 MAINTAINER="pankso@slitaz.org"
pankso@274 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@274 9 WEB_SITE="http://www.slitaz.org/"
pankso@12411 10 WGET_URL="http://mirror.slitaz.org/sources/configs/$PACKAGE-$VERSION.tar.gz"
pankso@274 11
pankso@12161 12 DEPENDS="slitaz-configs-base xorg-libXcomposite xorg-libXdamage xorg-xcompmgr \
pankso@12411 13 transset-df ttf-dejavu slitaz-tools-boxes clearlooks slim"
pankso@12161 14
pankso@274 15 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@274 16 genpkg_rules()
pankso@274 17 {
pankso@3090 18 # Copy rootfs files from the stuff and set permissions.
pankso@12411 19 mkdir -p $fs/etc/xdg/openbox $fs/usr/share
pankso@9505 20 for f in menu.en.xml menu.xml autostart.sh rc.xml
pankso@9505 21 do
slaxemulator@9560 22 cp -a $src/rootfs/etc/xdg/openbox/$f $fs/etc/xdg/openbox
pankso@9505 23 done
pankso@12411 24 # /usr/share
pankso@12411 25 for i in applications lxdm slim slitaz
pankso@12411 26 do
pankso@12411 27 cp -r $src/rootfs/usr/share/$i $fs/usr/share
pankso@12411 28 done
pankso@9505 29 cp -a $src/rootfs/etc/lxpanel $fs/etc
pankso@715 30 chown -R root.root $fs
pankso@274 31 }
pankso@2838 32
pankso@2838 33 post_install()
pankso@2838 34 {
pankso@2838 35 # By default slim provide a base theme and config file have both
pankso@2838 36 # base and slitaz who will be choose randomly, so make sure we use
pankso@2838 37 # only slitaz theme.
pankso@2838 38 if grep -q 'current_theme slitaz,base' $1/etc/slim.conf; then
pankso@2838 39 sed -i s/"current_theme .*"/"current_theme slitaz"/ \
pankso@2838 40 $1/etc/slim.conf
pankso@2838 41 fi
pankso@2838 42 }