wok view turbine/receipt @ rev 20046

Add Turbine v1.0 by The SliTaz DevTeam.
author Leonardo Laporte <hackdorte@yandex.com>
date Thu Aug 31 05:31:36 2017 -0300 (2017-08-31)
parents
children fb697377a205
line source
1 # SliTaz package receipt.
3 PACKAGE="turbine"
4 VERSION="1.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="The Memory Cleaner for SliTaz."
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPLv3"
9 WEB_SITE="http://people.slitaz.org/~leonardolaporte/sh/turbine"
11 DEPENDS="bash librsvg yad-gtk2-html"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
17 local_dir="var/www/cgi-bin/turbine"
18 launcher_dir="usr/share/applications"
20 mkdir -p $fs/$local_dir $fs/$launcher_dir
22 cp -a stuff/* $fs/$local_dir
23 cp -a stuff/res/desktop/turbine.desktop $fs/$launcher_dir
25 }
27 post_install()
28 {
30 startup_app="$1/var/www/cgi-bin/turbine/turbine"
31 quit_app="$1/var/www/cgi-bin/turbine/res/base/quit"
33 chmod +x $startup_app $quit_app
34 cd $1/usr/bin && ln -s $startup_app turbine
35 exit
37 }
39 post_remove()
40 {
42 # Remove the symbolic link.
43 rm -rf $1/usr/bin/turbine
44 exit
46 }