mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
75 lines
1.8 KiB
Bash
75 lines
1.8 KiB
Bash
SUMMARY="Library to use arbitrary fonts in OpenGL applications"
|
|
DESCRIPTION="FTGL is a free cross-platform Open Source C++ library that uses \
|
|
Freetype2 to simplify rendering fonts in OpenGL applications."
|
|
HOMEPAGE="http://sourceforge.net/projects/ftgl"
|
|
COPYRIGHT="
|
|
2001-2004 Unicode, Inc.
|
|
2001-2009 Henry Maddocks
|
|
"
|
|
LICENSE="MIT"
|
|
SOURCE_URI="http://downloads.sourceforge.net/project/ftgl/FTGL%20Source/2.1.3%7Erc5/ftgl-2.1.3-rc5.tar.gz"
|
|
CHECKSUM_SHA256="5458d62122454869572d39f8aa85745fc05d5518001bcefa63bd6cbb8d26565b"
|
|
REVISION="1"
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PATCHES="ftgl-$portVersion.patchset"
|
|
|
|
PROVIDES="
|
|
ftgl$secondaryArchSuffix = $portVersion compat >= 2
|
|
lib:libftgl$secondaryArchSuffix = 2.1.3 compat >= 2
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libfreetype$secondaryArchSuffix
|
|
lib:libgl$secondaryArchSuffix
|
|
lib:libglu$secondaryArchSuffix
|
|
|
|
lib:libbz2$secondaryArchSuffix
|
|
lib:libpng16$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
PROVIDES_devel="
|
|
ftgl${secondaryArchSuffix}_devel = $portVersion compat >= 1
|
|
devel:libftgl$secondaryArchSuffix = 2.1.3 compat >= 2
|
|
"
|
|
REQUIRES_devel="
|
|
ftgl$secondaryArchSuffix == $portVersion base
|
|
devel:libfreetype$secondaryArchSuffix
|
|
"
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libfreetype$secondaryArchSuffix
|
|
devel:libgl$secondaryArchSuffix
|
|
devel:libglu$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -fi -I m4
|
|
runConfigure ./configure
|
|
make $jobArgs ECHO=echo
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install ECHO=echo
|
|
|
|
prepareInstalledDevelLibs libftgl
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|