Files
haikuports/media-libs/sge/sge-030809.recipe
2017-02-11 22:41:27 +01:00

64 lines
1.7 KiB
Bash

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="3"
SOURCE_URI="http://ports-space.haiku-files.org/source/sge-030809.tar.gz"
CHECKSUM_SHA256="25cfbe59ab99647254e69d25984707045492c2a5d1b15f27d999d0284a7110fc"
SOURCE_DIR="sge030809"
PATCHES="sge-030809.patchset"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
sge$secondaryArchSuffix = $portVersion compat >= 030809
lib:libSGE$secondaryArchSuffix = $portVersion compat >= 030809
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libsdl$secondaryArchSuffix
lib:libSDL_image_1.2$secondaryArchSuffix
lib:libfreetype$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
PROVIDES_devel="
sge${secondaryArchSuffix}_devel = $portVersion compat >= 030809
devel:libSGE$secondaryArchSuffix = $portVersion compat >= 030809
"
REQUIRES_devel="
sge$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libsdl$secondaryArchSuffix
devel:libSDL_image_1.2$secondaryArchSuffix
devel:libfreetype$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:sdl_config$secondaryArchSuffix
"
BUILD()
{
make $jobArgs
}
INSTALL()
{
make install PREFIX_H=$includeDir PREFIX=$prefix LIBDIR=$libDir
prepareInstalledDevelLibs libSGE
#devel package
packageEntries devel \
$developDir
}