Files
haikuports/media-libs/sge/sge-030809.recipe
Humdinger a38db25c39 Changes in SUMMARY, DESCRIPTION and whitespace.
Removed the full-stop and repeating package name in SUMMARY.
Removed hard line breaks, broke up some very long paragraphs and
use bullet lists where possible.
All done by browsing through HaikuDepot. There may be (many) more left
in the whole haikuports repo...

Included 10 extended desriptions done by soyoye14 for GCI 2014
(https://www.google-melange.com/gci/task/view/google/gci2014/5240373098053632)

Removed/insert whitespace where it seems to be the custom in recipes.
Sometimes rearranged elements of a recipe (moving license and copyright
up, for example).
2015-01-12 19:23:51 +01:00

68 lines
1.7 KiB
Bash

SUMMARY="SDL Graphics Extension"
DESCRIPTION="
SGE is an extension for the open source multimedia library-SDL. It 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/"
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
"