wok-current view balance/receipt @ rev 20678

iron: update /usr/bin/iron symlink (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 25 10:42:17 2019 +0100 (2019-01-25)
parents 11b5e93cb5f2
children 9d63aadd992a
line source
1 # SliTaz package receipt.
3 PACKAGE="balance"
4 VERSION="3.42"
5 CATEGORY="system-tools"
6 SHORT_DESC="Generic tcp proxy with round robin load balancing and failover."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.inlab.de/balance.html"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://www.inlab.de/$TARBALL"
12 TAGS="web internet load-balancing proxy tcp ipv6"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mkdir -p $install/usr/sbin $install/usr/share/man/man1 2>/dev/null
18 sed -i 's|/man/|/share/man/|' $src/Makefile
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/sbin $fs/usr
29 }
31 post_install()
32 {
33 mkdir -p "$1/var/run/balance"
34 }