wok view tazpanel/receipt @ rev 22327
updated zenity (2.32.1 -> 3.32.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Nov 15 09:43:25 2019 +0100 (2019-11-15) |
parents | f7a13af08fc7 |
children | 5eee27c40050 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tazpanel"
4 VERSION="630"
5 CATEGORY="system-tools"
6 SHORT_DESC="SliTaz administration and configuration panel."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://www.slitaz.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://hg.slitaz.org/tazpanel/archive/$VERSION.tar.gz"
13 CONFIG_FILES="/etc/slitaz/tazpanel.conf /etc/slitaz/httpd.conf"
15 SUGGESTED="tazinst-gui tazinst"
16 DEPENDS="busybox gettext-base libjpeg sundown"
17 BUILD_DEPENDS="gettext jsmin tidy-html5"
18 SIBLINGS="tazpanel-extra"
19 HOST_ARCH="i486 arm"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 make -j 1 &&
25 make DESTDIR=$DESTDIR VERSION=$VERSION install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/etc/init.d
32 cp -a $install/* $fs
34 # Init script use tazpanel cmdline
35 cd $fs/etc/init.d && ln -s ../../usr/bin/tazpanel .
36 }
38 # Pre and post install commands for Tazpkg.
39 post_install()
40 {
41 rm -f "$1"/var/cache/tazpanel/* 2> /dev/null
42 grep -qs tazpanel "$1"/etc/hosts ||
43 sed -i 's/^127.0.0.1.*/& tazpanel/' "$1"/etc/hosts
45 # Do we need TazPanel restart? It freezes when updating using web interface.
46 #[ -z "$1" ] && tazpanel restart
47 }