wok annotate balance/receipt @ rev 24508
updated ed (1.15 -> 1.18)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 20 17:14:34 2022 +0100 (2022-02-20) |
parents | 9d63aadd992a |
children | 1c88796e4a70 |
rev | line source |
---|---|
pascal@1742 | 1 # SliTaz package receipt. |
pascal@1742 | 2 |
pascal@1742 | 3 PACKAGE="balance" |
Hans-G?nter@20738 | 4 VERSION="3.57" |
pascal@24373 | 5 CATEGORY="network" |
Hans-G?nter@20738 | 6 TAGS="web internet load-balancing proxy tcp ipv6" |
pascal@1742 | 7 SHORT_DESC="Generic tcp proxy with round robin load balancing and failover." |
pascal@1742 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15482 | 9 LICENSE="GPL2" |
Hans-G?nter@20738 | 10 WEB_SITE="https://www.inlab.net/balance/" |
Hans-G?nter@20738 | 11 |
pascal@1742 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@20738 | 13 WGET_URL="https://www.inlab.net/wp-content/uploads/2018/05/$TARBALL" |
pascal@1742 | 14 |
pascal@24373 | 15 # What is the latest version available today? |
pascal@24373 | 16 current_version() |
pascal@24373 | 17 { |
pascal@24373 | 18 wget -O - https://download.inlab.net/Balance/ 2>/dev/null | \ |
pascal@24373 | 19 sed '/href="[0-9]/!d;s|.*href="||;s|/.*||;q' |
pascal@24373 | 20 } |
pascal@24373 | 21 |
pascal@1742 | 22 # Rules to configure and make the package. |
pascal@1742 | 23 compile_rules() |
pascal@1742 | 24 { |
al@19275 | 25 mkdir -p $install/usr/sbin $install/usr/share/man/man1 2>/dev/null |
al@19279 | 26 sed -i 's|/man/|/share/man/|' $src/Makefile |
al@19275 | 27 |
pascal@1742 | 28 make && |
pascal@15482 | 29 make DESTDIR=$DESTDIR install |
pascal@1742 | 30 } |
pascal@1742 | 31 |
pascal@1742 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1742 | 33 genpkg_rules() |
pascal@1742 | 34 { |
pascal@1742 | 35 mkdir -p $fs/usr |
pascal@15482 | 36 cp -a $install/usr/sbin $fs/usr |
pascal@1742 | 37 } |
al@19275 | 38 |
al@19275 | 39 post_install() |
al@19275 | 40 { |
al@19275 | 41 mkdir -p "$1/var/run/balance" |
al@19275 | 42 } |