50 lines
1.1 KiB
Bash
50 lines
1.1 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="2"
|
|
SOURCE_URI="http://www.haproxy.org/download/1.6/src/haproxy-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="583e0c0c3388c0597dea241601f3fedfe1d7ff8c735d471831be67315f58183a"
|
|
PATCHES="haproxy-$portVersion.patchset"
|
|
|
|
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}"
|
|
}
|