haproxy: bump version.

* add a git recipe.
This commit is contained in:
Jerome Duval
2015-11-01 11:57:42 +00:00
parent d0de2b636c
commit f312839e59
5 changed files with 189 additions and 53 deletions

View File

@@ -0,0 +1,50 @@
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="git://github.com/haproxy/haproxy.git"
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}"
}