Convert jasper, enet and haproxy to working recipe

This commit is contained in:
Adrian Jelen
2013-12-09 19:38:44 +00:00
parent 8c934e3c56
commit 6b753405ca
3 changed files with 175 additions and 30 deletions

View File

@@ -1,24 +1,68 @@
DESCRIPTION="enet"
DESCRIPTION="ENet's purpose is to provide a relatively thin, simple and robust network communication layer on top of UDP (User Datagram Protocol). The primary feature it provides is optional reliable, in-order delivery of packets.
ENet omits certain higher level networking features such as authentication, lobbying, server discovery, encryption, or other similar tasks that are particularly application specific so that the library remains flexible, portable, and easily embeddable."
SUMMARY="ENet is simple and robust network communication layer."
HOMEPAGE="http://enet.bespin.org"
SRC_URI="http://enet.bespin.org/download/enet-1.3.0.tar.gz"
CHECKSUM_MD5="3ea50cc5f2f4bbea32abae0d50b64e3c"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND=""
LICENSE="MIT"
COPYRIGHT="2002-2010 Lee Salzman"
PROVIDES="
enet = $portVersion
lib:libenet = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoreconf
cmd:gcc
cmd:ld
cmd:libtoolize
cmd:make
cmd:sed
"
BUILD()
{
cd enet-1.3.0
libtoolize --force --copy --install
autoreconf -i
./configure --prefix=`finddir B_COMMON_DIRECTORY`
runConfigure ./configure $configureDirArgs
}
INSTALL()
{
cd enet-1.3.0
make install
prepareInstalledDevelLibs libenet
# devel package
packageEntries devel \
$developDir
# Remove stuff we don't need in the secondary architecture base package.
if [ -n "$secondaryArchSuffix" ]; then
rm -rf $binDir
rm -rf $documentationDir
fi
}
LICENSE="MIT"
COPYRIGHT="2002-2010 Lee Salzman"
# ----- devel package -------------------------------------------------------
PROVIDES_devel="
enet${secondaryArchSuffix}_devel = $portVersion
devel:libenet$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
enet$secondaryArchSuffix == $portVersion base
"