Files
haikuports/net-proxy/haproxy/haproxy-1.7.0.git.recipe
2016-02-26 10:33:51 -05:00

47 lines
966 B
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="git://github.com/haproxy/haproxy.git"
PATCHES="haproxy-$portVersion.patchset"
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
PROVIDES="
haproxy = $portVersion
cmd:haproxy = $portVersion
"
REQUIRES="
haiku
"
BUILD_PREREQUIRES="
haiku_devel
cmd:make
cmd:gcc
"
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}"
}