Files
haikuports/media-libs/sdl_ttf/sdl_ttf-2.0.11.recipe

81 lines
1.9 KiB
Plaintext

DESCRIPTION="
SDL_ttf is a TrueType font rendering library that is used with the SDL
library, and almost as portable. It depends on freetype2 to handle the
TrueType font data. It allows a programmer to use multiple TrueType fonts
without having to code a font rendering routine themselves. With the power
of outline fonts and antialiasing, high quality text output can be obtained
without much effort.
"
SUMMARY="Simple Direct Media Layer Image Library"
HOMEPAGE="http://www.libsdl.org/projects/SDL_ttf/release-1.2.html"
SRC_URI="http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.11.tar.gz"
CHECKSUM_MD5="61e29bd9da8d245bc2471d1b2ce591aa"
LICENSE="Zlib"
COPYRIGHT="1997-2012 Sam Lantinga"
REVISION="1"
ARCHITECTURES="x86 x86_gcc2"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
sdl_ttf$secondaryArchSuffix = $portVersion compat >= 1.2
lib:libSDL_ttf$secondaryArchSuffix = 2.0_0.10.1 compat >= 2.0_0
lib:libSDL_ttf_2.0$secondaryArchSuffix = 0.10.1 compat >= 0
"
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
libsdl >= 1.2
lib:libfreetype
lib:libz
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel >= $haikuVersion
cmd:libtoolize
cmd:aclocal
cmd:automake
cmd:autoconf
cmd:gcc
cmd:ld
cmd:sdl_config
cmd:make
cmd:freetype_config
devel:libz
"
SOURCE_DIR="SDL_ttf-$portVersion"
BUILD()
{
libtoolize --copy --force --install
aclocal --install -I acinclude
autoconf
runConfigure ./configure
make
}
INSTALL()
{
make install
prepareInstalledDevelLibs libSDL_ttf \
libSDL_ttf-2.0
fixPkgconfig
packageEntries devel \
$developDir
}
PROVIDES_devel="
sdl_ttf${secondaryArchSuffix}_devel = 2.0.11 compat >= 1.2
devel:sdl_ttf$secondaryArchSuffix = 2.0.11 compat >= 1.2
devel:libSDL_ttf$secondaryArchSuffix = 2.0_0.10.1 compat >= 2.0_0
devel:libSDL_ttf_2.0$secondaryArchSuffix = 0.10.1 compat >= 0
"
REQUIRES_devel="
sdl_ttf$secondaryArchSuffix == $portVersion base
"