wok-current annotate balance/receipt @ rev 22198

updated xorg-util-macros (1.17 -> 1.19.2)
author Hans-G?nter Theisgen
date Mon Nov 11 10:42:03 2019 +0100 (2019-11-11)
parents cc6b64a4c196
children 9af0e03b8ad0
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@1742 5 CATEGORY="system-tools"
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@1742 15 # Rules to configure and make the package.
pascal@1742 16 compile_rules()
pascal@1742 17 {
al@19275 18 mkdir -p $install/usr/sbin $install/usr/share/man/man1 2>/dev/null
al@19279 19 sed -i 's|/man/|/share/man/|' $src/Makefile
al@19275 20
pascal@1742 21 make &&
pascal@15482 22 make DESTDIR=$DESTDIR install
pascal@1742 23 }
pascal@1742 24
pascal@1742 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1742 26 genpkg_rules()
pascal@1742 27 {
pascal@1742 28 mkdir -p $fs/usr
pascal@15482 29 cp -a $install/usr/sbin $fs/usr
pascal@1742 30 }
al@19275 31
al@19275 32 post_install()
al@19275 33 {
al@19275 34 mkdir -p "$1/var/run/balance"
al@19275 35 }