mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-10 13:50:08 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
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}"
|
|
}
|