wok-6.x annotate balance/receipt @ rev 19275
Check manpages... from start to beaver.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jul 05 15:34:01 2016 +0300 (2016-07-05) |
parents | d3eb5f4b53ea |
children | cc6b64a4c196 |
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@19275 | 18 sed '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 } |