mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
81 lines
2.0 KiB
Plaintext
81 lines
2.0 KiB
Plaintext
SUMMARY="Geometry Engine Open Source"
|
|
DESCRIPTION="
|
|
GEOS is a C++ port of the Java Topology Suite (JTS). As such, it aims to \
|
|
contain the complete functionality of JTS in C++. This includes all the \
|
|
OpenGIS Simple Features for SQL spatial predicate functions and spatial \
|
|
operators, as well as specific JTS enhanced topology functions.
|
|
"
|
|
HOMEPAGE="http://trac.osgeo.org/geos"
|
|
COPYRIGHT="
|
|
2006 Refractions Research Inc.
|
|
2012 Excensus LLC.
|
|
2001-2002 Vivid Solutions Inc.
|
|
2009-2012 Sandro Santilli <strk@keybit.net>
|
|
2008-2010 Safe Software Inc.
|
|
2008 Sean Gillies
|
|
"
|
|
LICENSE="GNU LGPL v2.1"
|
|
SRC_URI="http://download.osgeo.org/geos/geos-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="15e8bfdf7e29087a957b56ac543ea9a80321481cef4d4f63a7b268953ad26c53"
|
|
REVISION="1"
|
|
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
PATCHES="geos-$portVersion.patchset"
|
|
|
|
PROVIDES="
|
|
geos$secondaryArchSuffix = $portVersion compat >= 3.4
|
|
lib:libgeos_3.4.2$secondaryArchSuffix = $portVersion compat >= 3.4
|
|
lib:libgeos_c$secondaryArchSuffix = 1.8.2 compat >= 1
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix >= $haikuVersion
|
|
lib:libstdc++$secondaryArchSuffix
|
|
"
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize
|
|
cmd:make
|
|
cmd:find
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -fi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libgeos_c libgeos libgeos-3.4.2
|
|
fixPkgconfig
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$binDir \
|
|
$developDir
|
|
}
|
|
|
|
# ----- devel package -------------------------------------------------------
|
|
|
|
PROVIDES_devel="
|
|
geos${secondaryArchSuffix}_devel = $portVersion compat >= 3.4
|
|
cmd:geos_config$secondaryArchSuffix
|
|
devel:libgeos_3.4.2$secondaryArchSuffix = $portVersion compat >= 3.4
|
|
devel:libgeos$secondaryArchSuffix = $portVersion compat >= 3.4
|
|
devel:libgeos_c$secondaryArchSuffix = 1.8.2 compat >= 1
|
|
"
|
|
REQUIRES_devel="
|
|
geos$secondaryArchSuffix == $portVersion base
|
|
"
|