wok-current diff tazpanel-theme-sandfive/receipt @ rev 17734
dahdi-linux: save firmware as source
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 06 11:23:56 2015 +0100 (2015-03-06) |
parents | |
children | 9e01bc6321ea |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tazpanel-theme-sandfive/receipt Fri Mar 06 11:23:56 2015 +0100 1.3 @@ -0,0 +1,35 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="tazpanel-theme-sandfive" 1.7 +VERSION="1.0" 1.8 +CATEGORY="misc" 1.9 +SHORT_DESC="SliTaz Sand Five theme for TazPanel" 1.10 +MAINTAINER="holkfoor@gmail.com" 1.11 +LICENSE="PublicDomain" 1.12 +WEB_SITE="http://www.slitaz.org/" 1.13 + 1.14 +DEPENDS="tazpanel" 1.15 + 1.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 +genpkg_rules() 1.18 +{ 1.19 + mkdir -p $fs/var/www/tazpanel/styles/sandfive 1.20 + cp -a stuff/* $fs/var/www/tazpanel/styles/sandfive 1.21 + 1.22 + # link absent files with default theme 1.23 + cd $fs/var/www/tazpanel/styles/sandfive 1.24 + for i in favicon.ico footer.html header.html images; do 1.25 + ln -s ../default/$i $i 1.26 + done 1.27 +} 1.28 + 1.29 +# Pre and post install commands for Tazpkg. 1.30 +post_install() 1.31 +{ 1.32 + sed -i 's|STYLE=".*"|STYLE="sandfive"|' $1/etc/slitaz/tazpanel.conf 1.33 +} 1.34 + 1.35 +pre_remove() 1.36 +{ 1.37 + sed -i 's|STYLE=".*"|STYLE="default"|' $1/etc/slitaz/tazpanel.conf 1.38 +}