wok-current annotate slitaz-configs/receipt @ rev 3821

Up + fix: udev (145)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Aug 06 15:23:24 2009 +0200 (2009-08-06)
parents f9381c4b49ca
children dc1c28cf5924
rev   line source
pankso@274 1 # SliTaz package receipt.
pankso@274 2
pankso@274 3 PACKAGE="slitaz-configs"
pankso@3082 4 VERSION="3.0"
pankso@274 5 CATEGORY="base-system"
pankso@655 6 SHORT_DESC="SliTaz config files, wallpaper and login sound."
pankso@274 7 MAINTAINER="pankso@slitaz.org"
pankso@3082 8 DEPENDS="slitaz-tools xorg-libXcomposite xorg-libXdamage xorg-xcompmgr \
pankso@3082 9 transset-df tazlito tazpkg slitaz-doc lxtask lxpanel lxappearance \
rcx@3799 10 ttf-dejavu pcmanfm openbox obconf slitaz-tools-boxes"
pankso@274 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@274 12 WEB_SITE="http://www.slitaz.org/"
pankso@1088 13 WGET_URL="http://mirror.slitaz.org/sources/configs/$TARBALL"
pankso@274 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@3086 19 mkdir -p $fs/etc/xdg/openbox
pankso@3090 20 cp -a $src/rootfs/etc/xdg/openbox/menu.en.xml $fs/etc/xdg/openbox
pankso@3082 21 cp -a $src/rootfs/etc/xdg/openbox/menu.xml $fs/etc/xdg/openbox
pankso@3090 22 cp -a $src/rootfs/etc/xdg/openbox/autostart.sh $fs/etc/xdg/openbox
pankso@3090 23 cp -a $src/rootfs/etc/xdg/openbox/rc.xml $fs/etc/xdg/openbox
pankso@3089 24 cp -a $src/rootfs/etc/skel $fs/etc
pankso@3089 25 cp -a $src/rootfs/etc/X11 $fs/etc
pankso@3089 26 mkdir $fs/etc/skel/Music $fs/etc/skel/Documents
pankso@3082 27 cp -a $src/rootfs/usr $fs
pankso@3082 28 cp -a $src/rootfs/root $fs
pankso@715 29 chown -R root.root $fs
pankso@715 30 chmod 0750 $fs/root
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 }