Files
haikuports/net-proxy/haproxy/haproxy-2.8.3.recipe
2023-10-13 12:53:33 +00:00

49 lines
1.0 KiB
Bash

SUMMARY="Reliable, high performace TCP/HTTP load balancer"
DESCRIPTION="
HAProxy is a free, very fast and reliable solution offering high availability, \
load balancing, and proxying for TCP and HTTP-based applications. It is \
particularly suited for web sites crawling under very high loads while needing \
persistence or Layer7 processing."
HOMEPAGE="http://www.haproxy.org/"
COPYRIGHT="2012 Willy Tarreau"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://www.haproxy.org/download/2.8/src/haproxy-$portVersion.tar.gz"
CHECKSUM_SHA256="9ecc6ffe67a977d1ed279107bbdab790d73ae2a626bc38eee23fa1f6786a759e"
ARCHITECTURES="all !x86_gcc2"
PROVIDES="
haproxy = $portVersion
cmd:haproxy = $portVersion
"
REQUIRES="
haiku
"
BUILD_PREREQUIRES="
haiku_devel
cmd:cmp
cmd:gcc
cmd:make
"
BUILD()
{
make TARGET=haiku PREFIX="$prefix"
}
INSTALL()
{
mkdir -p "${sbinDir}"
mkdir -p "${manDir}"
mkdir -p "${docDir}"
make install DESTDIR="" \
PREFIX="$prefix"\
SBINDIR="${sbinDir}" \
MANDIR="${manDir}" \
DOCDIR="${docDir}"
}