wok-6.x annotate balance/receipt @ rev 19832
Up apulse (0.1.8+ae3ea44)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Mar 10 20:46:32 2017 +0100 (2017-03-10) |
parents | 11b5e93cb5f2 |
children | 9d63aadd992a |
rev | line source |
---|---|
pascal@1742 | 1 # SliTaz package receipt. |
pascal@1742 | 2 |
pascal@1742 | 3 PACKAGE="balance" |
pascal@1742 | 4 VERSION="3.42" |
pascal@1742 | 5 CATEGORY="system-tools" |
pascal@1742 | 6 SHORT_DESC="Generic tcp proxy with round robin load balancing and failover." |
pascal@1742 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15482 | 8 LICENSE="GPL2" |
al@19275 | 9 WEB_SITE="http://www.inlab.de/balance.html" |
pascal@1742 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17869 | 11 WGET_URL="http://www.inlab.de/$TARBALL" |
jozee@3567 | 12 TAGS="web internet load-balancing proxy tcp ipv6" |
pascal@1742 | 13 |
pascal@1742 | 14 # Rules to configure and make the package. |
pascal@1742 | 15 compile_rules() |
pascal@1742 | 16 { |
al@19275 | 17 mkdir -p $install/usr/sbin $install/usr/share/man/man1 2>/dev/null |
al@19279 | 18 sed -i 's|/man/|/share/man/|' $src/Makefile |
al@19275 | 19 |
pascal@1742 | 20 make && |
pascal@15482 | 21 make DESTDIR=$DESTDIR install |
pascal@1742 | 22 } |
pascal@1742 | 23 |
pascal@1742 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1742 | 25 genpkg_rules() |
pascal@1742 | 26 { |
pascal@1742 | 27 mkdir -p $fs/usr |
pascal@15482 | 28 cp -a $install/usr/sbin $fs/usr |
pascal@1742 | 29 } |
al@19275 | 30 |
al@19275 | 31 post_install() |
al@19275 | 32 { |
al@19275 | 33 mkdir -p "$1/var/run/balance" |
al@19275 | 34 } |