Files
haikuports/media-libs/sge/sge-030809.recipe
2013-12-20 00:45:23 -08:00

68 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_MD5="a76975665b6a2bf189130fa2c8821caf"
LICENSE="GNU LGPL v2.1"
COPYRIGHT="1999-2003 Anders Lindstrom"
REVISION="1"
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="
libSGE${secondaryArchSuffix}_devel = $portVersion compat >= 030809
devel:libSGE$secondaryArchSuffix = $portVersion compat >= 030809
"
REQUIRES_devel="
libSGE$secondaryArchSuffix == $portVersion base
"