wok view balance/receipt @ rev 25470

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 07 10:48:59 2022 +0000 (2022-10-07)
parents 9af0e03b8ad0
children 120dd6158093
line source
1 # SliTaz package receipt.
3 PACKAGE="balance"
4 VERSION="3.57"
5 CATEGORY="network"
6 TAGS="web internet load-balancing proxy tcp ipv6"
7 SHORT_DESC="Generic tcp proxy with round robin load balancing and failover."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.inlab.net/balance/"
12 TARBALL="$PACKAGE-$VERSION.tar"
13 WGET_URL="https://download.inlab.net/Balance/$VERSION/$TARBALL"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - https://download.inlab.net/Balance/ 2>/dev/null | \
19 sed '/href="[0-9]/!d;s|.*href="||;s|/.*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 mkdir -p $install/usr/sbin $install/usr/share/man/man1 2>/dev/null
26 sed -i 's|/man/|/share/man/|' $src/Makefile
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/sbin $fs/usr
37 }
39 post_install()
40 {
41 mkdir -p "$1/var/run/balance"
42 }