mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
61 lines
1.4 KiB
Bash
61 lines
1.4 KiB
Bash
SUMMARY="Graphite text processing engine"
|
|
DESCRIPTION="Graphite2 is a library providing rendering capabilities for \
|
|
complex non-Roman writing systems."
|
|
HOMEPAGE="http://graphite.sil.org/"
|
|
COPYRIGHT="2010-2016 SIL International"
|
|
LICENSE="GNU LGPL v2.1"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/silnrsi/graphite/releases/download/$portVersion/graphite2-$portVersion.tgz"
|
|
CHECKSUM_SHA256="90fde3b2f9ea95d68ffb19278d07d9b8a7efa5ba0e413bebcea802ce05cda1ae"
|
|
PATCHES="graphite2-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
graphite2$secondaryArchSuffix = $portVersion compat >= 1.2
|
|
lib:libgraphite2$secondaryArchSuffix = 3.0.1 compat >= 3
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
graphite2${secondaryArchSuffix}_devel = $portVersion compat >= 1.2
|
|
cmd:gr2fonttest$secondaryArchSuffix
|
|
devel:libgraphite2$secondaryArchSuffix = 3.0.1 compat >= 3
|
|
"
|
|
REQUIRES_devel="
|
|
graphite2$secondaryArchSuffix == $portVersion base
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cmake -DCMAKE_INSTALL_PREFIX:PATH=$prefix -DLIB_SUFFIX=$secondaryArchSubDir .
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libgraphite2
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$binDir \
|
|
$developDir
|
|
}
|