mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
52 lines
1.1 KiB
Bash
52 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/"
|
|
SOURCE_URI="http://www.haproxy.org/download/1.6/src/haproxy-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="ba221b3eaa4d71233230b156c3000f5c2bd4dace94d9266235517fe42f917fc6"
|
|
REVISION="1"
|
|
|
|
LICENSE="GNU GPL v2"
|
|
COPYRIGHT="2012 Willy Tarreau"
|
|
|
|
ARCHITECTURES="x86_gcc2 ?x86 x86_64"
|
|
|
|
PROVIDES="
|
|
haproxy = $portVersion
|
|
cmd:haproxy = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
haiku_devel
|
|
cmd:make
|
|
cmd:gcc
|
|
"
|
|
PATCHES="haproxy-$portVersion.patchset"
|
|
|
|
|
|
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}"
|
|
}
|