wok-current annotate slitaz-configs/receipt @ rev 8474
Fix libevent.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Feb 07 17:51:33 2011 +0000 (2011-02-07) |
parents | c753c126a746 |
children | 12eb74ac753b |
rev | line source |
---|---|
pankso@274 | 1 # SliTaz package receipt. |
pankso@274 | 2 |
pankso@274 | 3 PACKAGE="slitaz-configs" |
pankso@7930 | 4 VERSION="4.1" |
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" |
pascal@7805 | 8 DEPENDS="slitaz-configs-base xorg-libXcomposite xorg-libXdamage xorg-xcompmgr \ |
pascal@7805 | 9 transset-df lxtask lxpanel lxappearance ttf-dejavu pcmanfm slitaz-tools-boxes" |
pankso@274 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@274 | 11 WEB_SITE="http://www.slitaz.org/" |
pankso@1088 | 12 WGET_URL="http://mirror.slitaz.org/sources/configs/$TARBALL" |
pankso@274 | 13 |
pankso@274 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@274 | 15 genpkg_rules() |
pankso@274 | 16 { |
pankso@3090 | 17 # Copy rootfs files from the stuff and set permissions. |
pankso@3086 | 18 mkdir -p $fs/etc/xdg/openbox |
pankso@3090 | 19 cp -a $src/rootfs/etc/xdg/openbox/menu.en.xml $fs/etc/xdg/openbox |
pankso@3082 | 20 cp -a $src/rootfs/etc/xdg/openbox/menu.xml $fs/etc/xdg/openbox |
pankso@3090 | 21 cp -a $src/rootfs/etc/xdg/openbox/autostart.sh $fs/etc/xdg/openbox |
pankso@3090 | 22 cp -a $src/rootfs/etc/xdg/openbox/rc.xml $fs/etc/xdg/openbox |
pankso@715 | 23 chown -R root.root $fs |
pankso@715 | 24 chmod 0750 $fs/root |
pankso@274 | 25 } |
pankso@2838 | 26 |
pankso@2838 | 27 post_install() |
pankso@2838 | 28 { |
pankso@2838 | 29 # By default slim provide a base theme and config file have both |
pankso@2838 | 30 # base and slitaz who will be choose randomly, so make sure we use |
pankso@2838 | 31 # only slitaz theme. |
pankso@2838 | 32 if grep -q 'current_theme slitaz,base' $1/etc/slim.conf; then |
pankso@2838 | 33 sed -i s/"current_theme .*"/"current_theme slitaz"/ \ |
pankso@2838 | 34 $1/etc/slim.conf |
pankso@2838 | 35 fi |
pankso@2838 | 36 } |