wok-6.x view tazpanel/receipt @ rev 22741

updated drupal (8.6.10 -> 8.8.1)
author Hans-G?nter Theisgen
date Fri Jan 24 07:57:43 2020 +0100 (2020-01-24)
parents 110fb7faf50f
children 1035f0e819bc
line source
1 # SliTaz package receipt.
3 PACKAGE="tazpanel"
4 VERSION="631"
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 }