Files
haikuports/media-libs/sge/sge-030809.recipe
2014-04-21 19:31:51 +02:00

70 lines
1.5 KiB
Plaintext

SUMMARY="SDL Graphics Extension"
DESCRIPTION="
SDL Graphics Extension
"
HOMEPAGE="http://www.etek.chalmers.se/~e8cal1/sge/"
SRC_URI="http://ports-space.haiku-files.org/source/sge-030809.tar.gz"
CHECKSUM_SHA256="25cfbe59ab99647254e69d25984707045492c2a5d1b15f27d999d0284a7110fc"
LICENSE="GNU LGPL v2.1"
COPYRIGHT="1999-2003 Anders Lindstrom"
REVISION="2"
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
"
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
"
SOURCE_DIR="sge030809"
PATCHES="sge-030809.patch"
BUILD()
{
make $jobArgs
}
INSTALL()
{
make install PREFIX_H=$includeDir PREFIX=$prefix LIBDIR=$libDir
prepareInstalledDevelLibs libSGE
#devel package
packageEntries devel \
$developDir
}
PROVIDES_devel="
sge${secondaryArchSuffix}_devel = $portVersion compat >= 030809
devel:libSGE$secondaryArchSuffix = $portVersion compat >= 030809
"
REQUIRES_devel="
sge$secondaryArchSuffix == $portVersion base
"