wok-next view slim-theme-7legs/receipt @ rev 15182

bozohttpd, cherokee, hiawatha, nginx: add PROVIDE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 21 18:41:33 2013 +0000 (2013-08-21)
parents
children bc9334796734
line source
1 # SliTaz package receipt.
3 PACKAGE="slim-theme-7legs"
4 VERSION="20130527"
5 CATEGORY="x-window"
6 SHORT_DESC="Seven legged Spider - theme for SLiM"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="CC-BY"
9 WEB_SITE="http://www.slitaz.org/"
11 DEPENDS="slim slitaz-configs-base"
12 BUILD_DEPENDS="inkscape optipng"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mkdir -p $install
18 inkscape -f $stuff/7_legged_spider.svg -e $install/panel.png
19 optipng -zc1-9 -zm1-9 -zs0-3 -f0-5 $install/panel.png
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 theme=$fs/usr/share/slim/themes/7_legged_spider
26 mkdir -p $theme
27 # link SLiM background to SliTaz desktop background;
28 # system is almost here...
29 cp -s /usr/share/images/slitaz-background.jpg $theme/background.jpg
30 cp -a $install/panel.png $theme
31 cp -a $stuff/slim.theme $theme
32 cp -a $stuff/strings $theme
33 }
35 post_install()
36 {
37 slim-theme -s7_legged_spider
38 }
40 pre_remove()
41 {
42 slim-theme -f7_legged_spider
43 }