SUMMARY="ENet is simple and robust network communication layer." 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. " 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" SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86" REVISION="1" LICENSE="MIT" COPYRIGHT="2002-2010 Lee Salzman" PROVIDES=" enet$secondaryArchSuffix = $portVersion compat >= 1.0.0 lib:libenet$secondaryArchSuffix = $portVersion compat >= 1.0.0 " REQUIRES=" haiku$secondaryArchSuffix >= $haikuVersion " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel >= $haikuVersion " BUILD_PREREQUIRES=" cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix cmd:aclocal cmd:autoreconf cmd:libtoolize cmd:make cmd:sed " BUILD() { libtoolize --force --copy --install autoreconf -i runConfigure ./configure } INSTALL() { 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 } # ----- devel package ------------------------------------------------------- PROVIDES_devel=" enet${secondaryArchSuffix}_devel = $portVersion devel:libenet$secondaryArchSuffix = $portVersion " REQUIRES_devel=" enet$secondaryArchSuffix == $portVersion base "