wok-6.x view balance/receipt @ rev 24092
Up get-pcem-roms (2.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 18 13:15:53 2021 +0000 (2021-07-18) |
parents | cc6b64a4c196 |
children | 9af0e03b8ad0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="balance"
4 VERSION="3.57"
5 CATEGORY="system-tools"
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 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mkdir -p $install/usr/sbin $install/usr/share/man/man1 2>/dev/null
19 sed -i 's|/man/|/share/man/|' $src/Makefile
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/sbin $fs/usr
30 }
32 post_install()
33 {
34 mkdir -p "$1/var/run/balance"
35 }