wok annotate tazpanel/receipt @ rev 25154
updated proxychains-ng (4.14 -> 4.16)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 30 15:28:13 2022 +0100 (2022-06-30) |
parents | 7e911016a644 |
children |
rev | line source |
---|---|
pankso@9632 | 1 # SliTaz package receipt. |
pankso@9632 | 2 |
pankso@9632 | 3 PACKAGE="tazpanel" |
pascal@24278 | 4 VERSION="638" |
pankso@9632 | 5 CATEGORY="system-tools" |
pankso@9632 | 6 SHORT_DESC="SliTaz administration and configuration panel." |
pankso@9632 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15022 | 8 LICENSE="BSD" |
Hans-G?nter@21131 | 9 WEB_SITE="http://www.slitaz.org/" |
Hans-G?nter@21131 | 10 |
pankso@9632 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Christian@12110 | 12 WGET_URL="http://hg.slitaz.org/tazpanel/archive/$VERSION.tar.gz" |
pascal@10343 | 13 CONFIG_FILES="/etc/slitaz/tazpanel.conf /etc/slitaz/httpd.conf" |
pankso@9632 | 14 |
pankso@16040 | 15 SUGGESTED="tazinst-gui tazinst" |
Hans-G?nter@21131 | 16 DEPENDS="busybox gettext-base libjpeg sundown" |
al@18690 | 17 BUILD_DEPENDS="gettext jsmin tidy-html5" |
al@19617 | 18 SIBLINGS="tazpanel-extra" |
Hans-G?nter@21131 | 19 HOST_ARCH="i486 arm" |
pankso@9632 | 20 |
pascal@24069 | 21 current_version() |
pascal@24069 | 22 { |
pascal@24069 | 23 wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \ |
pascal@24069 | 24 sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \ |
pascal@24069 | 25 xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||' |
pascal@24069 | 26 } |
pascal@24069 | 27 |
pankso@9632 | 28 # Rules to configure and make the package. |
pankso@9632 | 29 compile_rules() |
pankso@9632 | 30 { |
Hans-G?nter@21131 | 31 make -j 1 && |
Hans-G?nter@21131 | 32 make DESTDIR=$DESTDIR VERSION=$VERSION install |
pankso@9632 | 33 } |
pankso@9632 | 34 |
pankso@9632 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@9632 | 36 genpkg_rules() |
pankso@9632 | 37 { |
pankso@9632 | 38 mkdir -p $fs/etc/init.d |
pankso@10842 | 39 cp -a $install/* $fs |
Hans-G?nter@21131 | 40 |
pankso@9632 | 41 # Init script use tazpanel cmdline |
pankso@9632 | 42 cd $fs/etc/init.d && ln -s ../../usr/bin/tazpanel . |
pankso@9632 | 43 } |
pascal@11360 | 44 |
pascal@11360 | 45 # Pre and post install commands for Tazpkg. |
pascal@11360 | 46 post_install() |
pascal@11360 | 47 { |
pascal@18730 | 48 rm -f "$1"/var/cache/tazpanel/* 2> /dev/null |
pascal@18730 | 49 grep -qs tazpanel "$1"/etc/hosts || |
pascal@18730 | 50 sed -i 's/^127.0.0.1.*/& tazpanel/' "$1"/etc/hosts |
al@17910 | 51 |
al@17977 | 52 # Do we need TazPanel restart? It freezes when updating using web interface. |
al@17977 | 53 #[ -z "$1" ] && tazpanel restart |
pascal@11360 | 54 } |