SUMMARY="A 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" COPYRIGHT="2002-2010 Lee Salzman" LICENSE="MIT" REVISION="1" SOURCE_URI="http://enet.bespin.org/download/enet-$portVersion.tar.gz" CHECKSUM_SHA256="98f6f57aab0a424469619ed3047728f0d3901ce8f0dea919c11e7966d807e870" PATCHES="enet-$portVersion.patchset" ARCHITECTURES="all ?x86" SECONDARY_ARCHITECTURES="x86" PROVIDES=" enet$secondaryArchSuffix = $portVersion lib:libenet$secondaryArchSuffix = 7.0.2 compat >= 7 " REQUIRES=" haiku$secondaryArchSuffix " PROVIDES_devel=" enet${secondaryArchSuffix}_devel = $portVersion devel:libenet$secondaryArchSuffix = 7.0.2 compat >= 7 " REQUIRES_devel=" enet$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel " BUILD_PREREQUIRES=" cmd:aclocal cmd:autoreconf cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix cmd:libtoolize cmd:make cmd:sed " BUILD() { autoreconf -fi runConfigure ./configure make $jobArgs } INSTALL() { make install rm $libDir/libenet.la $libDir/libenet.a prepareInstalledDevelLibs libenet fixPkgconfig # 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 }