SUMMARY="An HTTP protocol handler" DESCRIPTION="libHTTP is a helper library used by RobinHood to simplify \ HTTP and other protocols. It is a legacy library and shouldn't be used in new \ code anymore." HOMEPAGE="https://github.com/HaikuArchives/libHTTP" COPYRIGHT="1999 Joe Kloss 2015 Puck Meerburg" LICENSE="GNU GPL v2" REVISION="1" SOURCE_URI="https://github.com/HaikuArchives/libHTTP/archive/4a94696b445d88bc48c070ca3e9276e2e942059a.tar.gz" CHECKSUM_SHA256="34185c19a76d4c35730795e1b5c115bee749508f3fd2bded25bba69a7ad68c62" SOURCE_DIR="libHTTP-4a94696b445d88bc48c070ca3e9276e2e942059a" ARCHITECTURES="?all x86_gcc2" SECONDARY_ARCHITECTURES="x86" PROVIDES=" libhttp$secondaryArchSuffix = $portVersion lib:libHTTP$secondaryArchSuffix = $portVersion " REQUIRES=" haiku$secondaryArchSuffix " PROVIDES_devel=" libhttp${secondaryArchSuffix}_devel = $portVersion devel:libHTTP$secondaryArchSuffix = $portVersion " REQUIRES_devel=" haiku${secondaryArchSuffix}_devel libhttp$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel " BUILD_PREREQUIRES=" makefile_engine cmd:gcc$secondaryArchSuffix cmd:make " BUILD() { make $jobArgs OBJ_DIR=objects } INSTALL() { mkdir -p $libDir mkdir -p $includeDir/libHTTP cp -a objects/libHTTP.so $libDir cp -R headers/* $includeDir/libHTTP prepareInstalledDevelLibs \ libHTTP packageEntries devel \ $developDir }