diff --git a/sci-geosciences/librttopo/librttopo-1.1.0.recipe b/sci-geosciences/librttopo/librttopo-1.1.0.recipe new file mode 100644 index 000000000..d65351c40 --- /dev/null +++ b/sci-geosciences/librttopo/librttopo-1.1.0.recipe @@ -0,0 +1,83 @@ +SUMMARY="RT Topology library" +DESCRIPTION="The RT Topology Library exposes an API to create and manage standard \ +(ISO 13249 aka SQL/MM) topologies using user-provided data stores" +HOMEPAGE="https://git.osgeo.org.org/gitea/rttopo/librttopo" +COPYRIGHT="2001-2006 Refractions Research Inc. + 2002 Thamer Alharbash + 2004-2016 Sandro Santilli + 2006 Corporacion Autonoma Regional de Santander + 2006 Mark Leslie + 2007-2009 Mark Cave-Ayland + 2008-2015 Paul Ramsey + 2009 David Skea + 2009-2010 Olivier Courtin + 2010-2012 Oslandia + 2010-2015 Nicklas Avén + 2011 Kashif Rasul + 2011-2015 Arrival 3D + 2015 Daniel Baston" +LICENSE="GNU GPL v2" +REVISION="1" +SOURCE_URI="https://git.osgeo.org/gitea/rttopo/librttopo/archive/librttopo-$portVersion.tar.gz" +CHECKSUM_SHA256="2e2fcabb48193a712a6c76ac9a9be2a53f82e32f91a2bc834d9f1b4fa9cd879f" +SOURCE_DIR="librttopo" + +ARCHITECTURES="all !x86_gcc2" +SECONDARY_ARCHITECTURES="x86" + +libVersion="$portVersion" +libVersionCompat="$libVersion compat >= ${libVersion%%.*}" + +PROVIDES=" + librttopo$secondaryArchSuffix = $portVersion + lib:librttopo$secondaryArchSuffix = $libVersionCompat + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libgeos_c$secondaryArchSuffix + " + +PROVIDES_devel=" + librttopo${secondaryArchSuffix}_devel = $portVersion + devel:librttopo$secondaryArchSuffix = $libVersionCompat + " +REQUIRES_devel=" + haiku$secondaryArchSuffix + librttopo$secondaryArchSuffix == $portVersion base + devel:libgeos_c$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libgeos_c$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:aclocal + cmd:autoconf + cmd:gcc$secondaryArchSuffix + cmd:libtoolize$secondaryArchSuffix + cmd:make + " + +defineDebugInfoPackage librttopo$secondaryArchSuffix \ + "$libDir"/librttopo.so.$libVersion + +BUILD() +{ + autoreconf -vfi + runConfigure ./configure + make $jobArgs +} + +INSTALL() +{ + make install + + rm $libDir/*.{a,la} + + prepareInstalledDevelLibs librttopo + fixPkgconfig + + packageEntries devel \ + $developDir +}