gdal1: Remove.

This commit is contained in:
waddlesplash
2019-02-03 13:32:04 -05:00
committed by GitHub
parent eed69d1c78
commit 806112609c

View File

@@ -1,141 +0,0 @@
SUMMARY="The Geospatial Data Abstraction Library"
DESCRIPTION="GDAL is a translator library for raster and vector geospatial \
data formats that is released under an X/MIT style OpenSource license by the \
Open Source Geospatial Foundation. As a library, it presents a single raster \
abstract data model and vector abstract data model to the calling application \
for all supported formats. It also comes with a variety of useful \
commandline utilies for data translation and processing."
HOMEPAGE="https://www.gdal.org/"
COPYRIGHT="2007-2014 Even Rouault
2011 Alessandro Furieri
1999, 2001, 2002-2003, 2005, 2008 Frank Warmerdam
2013 Paul Ramsey
2010 Chaitanya kumar CH
2005 Radim Blazek
2009 Leonardo de Paula Rosa Piga
2006 Oleg Semykin
2004, 2014 Pirmin Kalberer
2007 Jens Oberender
2006 Christopher Condit
2010 Brian Case
2000 Daniel Morissette
2007 Mateusz Loskot
2008 Shawn Gervais
2008 Howard Butler
2013 NextGIS
2011 Ben Ahmed Daho Ali
2002 Mark Phillips
2009-2014 Martin Landa
2013 ZJU Walkinfo Technology Corp., Ltd."
LICENSE="MIT"
REVISION="4"
SOURCE_URI="http://download.osgeo.org/gdal/$portVersion/gdal-$portVersion.tar.xz"
CHECKSUM_SHA256="d4fdc3e987b9926545f0a514b4328cd733f2208442f8d03bde630fe1f7eff042"
SOURCE_DIR="gdal-$portVersion"
PATCHES="gdal1-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
if [ $targetArchitecture != x86_gcc2 ]; then
commandSuffix=
commandBinDir=$prefix/bin
fi
portVersionCompat="$portVersion compat >= 1.11"
libVersion=1.18.5
libVersionCompat="$libVersion compat >= 1.18"
PROVIDES="
gdal1$secondaryArchSuffix = $portVersionCompat
lib:libgdal$secondaryArchSuffix = $libVersionCompat
cmd:gdal_contour
cmd:gdal_grid
cmd:gdal_rasterize
cmd:gdal_translate
cmd:gdaladdo
cmd:gdalbuildvrt
cmd:gdaldem
cmd:gdalenhance
cmd:gdalinfo
cmd:gdallocationinfo
cmd:gdalmanage
cmd:gdalserver
cmd:gdalsrsinfo
cmd:gdaltindex
cmd:gdaltransform
cmd:gdalwarp
cmd:nearblack
cmd:ogr2ogr
cmd:ogrinfo
cmd:ogrlineref
cmd:ogrtindex
cmd:testepsg
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libexpat$secondaryArchSuffix
lib:libgeotiff$secondaryArchSuffix
lib:libgif$secondaryArchSuffix >= 7.0.0
lib:libiconv$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libproj$secondaryArchSuffix
lib:libtiff$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
PROVIDES_devel="
gdal1${secondaryArchSuffix}_devel = $portVersionCompat
cmd:gdal_config$secondaryArchSuffix
devel:libgdal$secondaryArchSuffix = $libVersionCompat
"
REQUIRES_devel="
gdal1$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libexpat$secondaryArchSuffix
devel:libgeotiff$secondaryArchSuffix
devel:libgif$secondaryArchSuffix >= 7.0.0
devel:libiconv$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
devel:libproj$secondaryArchSuffix
devel:libtiff$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
defineDebugInfoPackage gdal1$secondaryArchSuffix \
$libDir/libgdal.so.$libVersion
BUILD()
{
expatDir=$portPackageLinksDir/lib~libexpat
autoreconf -fi
runConfigure ./configure --with-expat=$expatDir
make $jobArgs
}
INSTALL()
{
make install
prepareInstalledDevelLib libgdal
fixPkgconfig
# devel package
packageEntries devel \
$binDir/gdal-config \
$developDir
}