wok view tazpanel/receipt @ rev 23637
updated seamonkey-official (2.49.5 -> 2.53.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 20 10:12:05 2020 +0100 (2020-04-20) |
parents | 1035f0e819bc |
children | 3a5c9f8a51f4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tazpanel"
4 VERSION="633"
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 }