mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
Convert jasper, enet and haproxy to working recipe
This commit is contained in:
@@ -1,24 +1,46 @@
|
||||
DESCRIPTION="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."
|
||||
SUMMARY="Reliable, high performace TCP/HTTP load balancer"
|
||||
HOMEPAGE="http://haproxy.1wt.eu/"
|
||||
SRC_URI="http://haproxy.1wt.eu/download/1.4/src/haproxy-1.4.22.tar.gz"
|
||||
CHECKSUM_MD5="a0b007c76f6a78524f3b3dd5e704979c"
|
||||
STATUS_HAIKU="stable"
|
||||
REVISION="1"
|
||||
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2012 Willy Tarreau"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||
|
||||
PROVIDES="
|
||||
haproxy = $portVersion
|
||||
cmd:haproxy = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku >= $haikuVersion
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
haiku_devel >= $haikuVersion
|
||||
cmd:make
|
||||
cmd:gcc
|
||||
"
|
||||
PATCHES="haproxy-1.4.22.patch"
|
||||
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd haproxy-1.4.22
|
||||
make TARGET=haiku PREFIX= SBINDIR=`finddir B_COMMON_BIN_DIRECTORY` \
|
||||
MANDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man \
|
||||
DOCDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`
|
||||
make TARGET=haiku PREFIX="$prefix"
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd haproxy-1.4.22
|
||||
make install DESTDIR=$DESTDIR PREFIX= SBINDIR=`finddir B_COMMON_BIN_DIRECTORY` \
|
||||
MANDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man \
|
||||
DOCDIR=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`
|
||||
}
|
||||
mkdir -p "${sbinDir}/haproxy"
|
||||
mkdir -p "${manDir}/haproxy"
|
||||
mkdir -p "${docDir}"
|
||||
|
||||
|
||||
LICENSE="GNU GPL v2"
|
||||
COPYRIGHT="2012 Willy Tarreau"
|
||||
make install DESTDIR="" \
|
||||
PREFIX="$prefix"\
|
||||
SBINDIR="${sbinDir}/haproxy" \
|
||||
MANDIR="${manDir}/haproxy" \
|
||||
DOCDIR="${docDir}"
|
||||
}
|
||||
Reference in New Issue
Block a user