wok-current view balance/receipt @ rev 20399

Add code2 (speech codec 0.7-3.2 Kb/s)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 27 16:09:41 2018 +0200 (2018-06-27)
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 }