mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
GEOS: bump (#5458)
This commit is contained in:
83
sci-libs/geos/geos-3.8.1.recipe
Normal file
83
sci-libs/geos/geos-3.8.1.recipe
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|
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="https://trac.osgeo.org/geos"
|
||||||
|
COPYRIGHT="2005-2006 Refractions Research Inc.
|
||||||
|
2012 Excensus LLC.
|
||||||
|
2001-2002 Vivid Solutions Inc.
|
||||||
|
2009-2012 Sandro Santilli
|
||||||
|
2008-2010 Safe Software Inc.
|
||||||
|
2008 Sean Gillies"
|
||||||
|
LICENSE="GNU LGPL v2.1"
|
||||||
|
REVISION="1"
|
||||||
|
SOURCE_URI="https://download.osgeo.org/geos/geos-$portVersion.tar.bz2"
|
||||||
|
CHECKSUM_SHA256="4258af4308deb9dbb5047379026b4cd9838513627cb943a44e16c40e42ae17f7"
|
||||||
|
|
||||||
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||||
|
SECONDARY_ARCHITECTURES="x86"
|
||||||
|
|
||||||
|
libVersion="1.13.3"
|
||||||
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||||
|
portVersionCompat="$portVersion compat >= ${portVersion%.*}"
|
||||||
|
|
||||||
|
PROVIDES="
|
||||||
|
geos$secondaryArchSuffix = $portVersionCompat
|
||||||
|
lib:libgeos_${portVersion}$secondaryArchSuffix = $libVersionCompat
|
||||||
|
lib:libgeos_c$secondaryArchSuffix = $libVersionCompat
|
||||||
|
"
|
||||||
|
REQUIRES="
|
||||||
|
haiku$secondaryArchSuffix
|
||||||
|
"
|
||||||
|
|
||||||
|
PROVIDES_devel="
|
||||||
|
geos${secondaryArchSuffix}_devel = $portVersionCompat
|
||||||
|
cmd:geos_config$secondaryArchSuffix = $portVersionCompat
|
||||||
|
devel:libgeos$secondaryArchSuffix = $libVersionCompat
|
||||||
|
devel:libgeos_${portVersion}$secondaryArchSuffix = $libVersionCompat
|
||||||
|
devel:libgeos_c$secondaryArchSuffix = $libVersionCompat
|
||||||
|
"
|
||||||
|
REQUIRES_devel="
|
||||||
|
geos$secondaryArchSuffix == $portVersion base
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD_REQUIRES="
|
||||||
|
haiku${secondaryArchSuffix}_devel
|
||||||
|
"
|
||||||
|
BUILD_PREREQUIRES="
|
||||||
|
cmd:aclocal
|
||||||
|
cmd:autoconf
|
||||||
|
cmd:automake
|
||||||
|
cmd:find
|
||||||
|
cmd:gcc$secondaryArchSuffix
|
||||||
|
cmd:ld$secondaryArchSuffix
|
||||||
|
cmd:libtoolize
|
||||||
|
cmd:make
|
||||||
|
cmd:which
|
||||||
|
"
|
||||||
|
|
||||||
|
BUILD()
|
||||||
|
{
|
||||||
|
autoreconf -fi
|
||||||
|
runConfigure ./configure
|
||||||
|
make $jobArgs
|
||||||
|
}
|
||||||
|
|
||||||
|
INSTALL()
|
||||||
|
{
|
||||||
|
make install
|
||||||
|
|
||||||
|
prepareInstalledDevelLibs libgeos_c libgeos libgeos-$portVersion
|
||||||
|
fixPkgconfig
|
||||||
|
|
||||||
|
# devel package
|
||||||
|
packageEntries devel \
|
||||||
|
$binDir \
|
||||||
|
$developDir
|
||||||
|
}
|
||||||
|
|
||||||
|
TEST()
|
||||||
|
{
|
||||||
|
make check
|
||||||
|
}
|
||||||
@@ -11,34 +11,28 @@ COPYRIGHT="2005-2006 Refractions Research Inc.
|
|||||||
2008-2010 Safe Software Inc.
|
2008-2010 Safe Software Inc.
|
||||||
2008 Sean Gillies"
|
2008 Sean Gillies"
|
||||||
LICENSE="GNU LGPL v2.1"
|
LICENSE="GNU LGPL v2.1"
|
||||||
REVISION="2"
|
REVISION="3"
|
||||||
SOURCE_URI="https://download.osgeo.org/geos/geos-$portVersion.tar.bz2"
|
SOURCE_URI="https://download.osgeo.org/geos/geos-$portVersion.tar.bz2"
|
||||||
CHECKSUM_SHA256="2166e65be6d612317115bfec07827c11b403c3f303e0a7420a2106bc999d7707"
|
CHECKSUM_SHA256="2166e65be6d612317115bfec07827c11b403c3f303e0a7420a2106bc999d7707"
|
||||||
PATCHES="geos-$portVersion.patchset"
|
PATCHES="geos-$portVersion.patchset"
|
||||||
|
SOURCE_DIR="geos-$portVersion"
|
||||||
|
|
||||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||||
SECONDARY_ARCHITECTURES="x86"
|
SECONDARY_ARCHITECTURES="x86"
|
||||||
|
|
||||||
|
libVersion="1.11.2"
|
||||||
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||||
|
portVersionCompat="$portVersion compat >= ${portVersion%.*}"
|
||||||
|
|
||||||
PROVIDES="
|
PROVIDES="
|
||||||
geos$secondaryArchSuffix = $portVersion compat >= 3.7
|
geos372$secondaryArchSuffix = $portVersionCompat
|
||||||
lib:libgeos_${portVersion}$secondaryArchSuffix = $portVersion compat >= 3.7
|
lib:libgeos_${portVersion}$secondaryArchSuffix = $libVersionCompat
|
||||||
lib:libgeos_c$secondaryArchSuffix = 1.11.2 compat >= 1
|
lib:libgeos_c$secondaryArchSuffix = $libVersionCompat
|
||||||
"
|
"
|
||||||
REQUIRES="
|
REQUIRES="
|
||||||
haiku$secondaryArchSuffix
|
haiku$secondaryArchSuffix
|
||||||
"
|
"
|
||||||
|
|
||||||
PROVIDES_devel="
|
|
||||||
geos${secondaryArchSuffix}_devel = $portVersion compat >= 3.7
|
|
||||||
cmd:geos_config$secondaryArchSuffix
|
|
||||||
devel:libgeos$secondaryArchSuffix = $portVersion compat >= 3.7
|
|
||||||
devel:libgeos_${portVersion}$secondaryArchSuffix = $portVersion compat >= 3.7
|
|
||||||
devel:libgeos_c$secondaryArchSuffix = 1.11.2 compat >= 1
|
|
||||||
"
|
|
||||||
REQUIRES_devel="
|
|
||||||
geos$secondaryArchSuffix == $portVersion base
|
|
||||||
"
|
|
||||||
|
|
||||||
BUILD_REQUIRES="
|
BUILD_REQUIRES="
|
||||||
haiku${secondaryArchSuffix}_devel
|
haiku${secondaryArchSuffix}_devel
|
||||||
"
|
"
|
||||||
@@ -68,8 +62,10 @@ INSTALL()
|
|||||||
prepareInstalledDevelLibs libgeos_c libgeos libgeos-$portVersion
|
prepareInstalledDevelLibs libgeos_c libgeos libgeos-$portVersion
|
||||||
fixPkgconfig
|
fixPkgconfig
|
||||||
|
|
||||||
# devel package
|
rm -rf $binDir $developDir
|
||||||
packageEntries devel \
|
}
|
||||||
$binDir \
|
|
||||||
$developDir
|
TEST()
|
||||||
|
{
|
||||||
|
make test
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user