SUMMARY="Simple Direct Media Layer graphics extension" DESCRIPTION="SGE provides many graphics operations such as drawing of lines, \ circles and primitives. It also allows for the rotation and scaling of \ surfaces, pixel operations and much more." HOMEPAGE="http://www.etek.chalmers.se/~e8cal1/sge/" COPYRIGHT="1999-2003 Anders Lindstrom" LICENSE="GNU LGPL v2.1" REVISION="6" SOURCE_URI="http://ports-space.haiku-files.org/source/sge-030809.tar.gz" CHECKSUM_SHA256="25cfbe59ab99647254e69d25984707045492c2a5d1b15f27d999d0284a7110fc" SOURCE_DIR="sge030809" PATCHES="sge-030809.patchset" ARCHITECTURES="all" SECONDARY_ARCHITECTURES="x86_gcc2 x86" PROVIDES=" sge$secondaryArchSuffix = $portVersion lib:libSGE$secondaryArchSuffix = $portVersion compat >= 0 " REQUIRES=" haiku$secondaryArchSuffix lib:libfreetype$secondaryArchSuffix lib:libSDL_1.2$secondaryArchSuffix lib:libSDL_image_1.2$secondaryArchSuffix lib:libz$secondaryArchSuffix " PROVIDES_devel=" sge${secondaryArchSuffix}_devel = $portVersion devel:libSGE$secondaryArchSuffix = $portVersion compat >= 0 " REQUIRES_devel=" sge$secondaryArchSuffix == $portVersion base " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libfreetype$secondaryArchSuffix devel:libSDL_1.2$secondaryArchSuffix devel:libSDL_image_1.2$secondaryArchSuffix devel:libz$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix cmd:make " BUILD() { make $jobArgs } INSTALL() { make install PREFIX_H=$includeDir PREFIX=$prefix LIBDIR=$libDir # remove static library rm -f $libDir/libSGE.a prepareInstalledDevelLib libSGE #devel package packageEntries devel \ $developDir }