wok-current view balance/receipt @ rev 24700
updated kexec-tools (2.0.17 -> 2.0.23)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 14 07:45:56 2022 +0100 (2022-03-14) |
parents | 9d63aadd992a |
children | 1c88796e4a70 |
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.gz"
13 WGET_URL="https://www.inlab.net/wp-content/uploads/2018/05/$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 }