diff options
author | Michel Zou | 2021-08-04 18:27:40 +0200 |
---|---|---|
committer | Michel Zou | 2021-08-04 18:27:40 +0200 |
commit | f543787faf1472893a7f253a46053a1a868a8782 (patch) | |
tree | 095ce17c49d23a29f1241c06defa008db18737a4 | |
parent | 90154e8e9cdd9c112820fd230831c5b256dacb4e (diff) | |
download | aur-f543787faf1472893a7f253a46053a1a868a8782.tar.gz |
expat
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -20,6 +20,8 @@ pkgbase = mingw-w64-gdal depends = mingw-w64-giflib depends = mingw-w64-libfreexl depends = mingw-w64-libheif + depends = mingw-w64-libwebp + depends = mingw-w64-expat options = !buildflags options = !strip options = staticlibs @@ -5,7 +5,7 @@ pkgdesc="A translator library for raster geospatial data formats (mingw-w64)" arch=('any') url="http://www.gdal.org/" license=('custom') -depends=('mingw-w64-curl' 'mingw-w64-hdf5' 'mingw-w64-netcdf' 'mingw-w64-libgeotiff' 'mingw-w64-libjpeg' 'mingw-w64-libpng' 'mingw-w64-libtiff' 'mingw-w64-sqlite' 'mingw-w64-postgresql' 'mingw-w64-geos' 'mingw-w64-giflib' 'mingw-w64-libfreexl' 'mingw-w64-libheif') +depends=('mingw-w64-curl' 'mingw-w64-hdf5' 'mingw-w64-netcdf' 'mingw-w64-libgeotiff' 'mingw-w64-libjpeg' 'mingw-w64-libpng' 'mingw-w64-libtiff' 'mingw-w64-sqlite' 'mingw-w64-postgresql' 'mingw-w64-geos' 'mingw-w64-giflib' 'mingw-w64-libfreexl' 'mingw-w64-libheif' 'mingw-w64-libwebp' 'mingw-w64-expat') makedepends=('perl' 'mingw-w64-configure') options=('!buildflags' '!strip' 'staticlibs') source=("http://download.osgeo.org/gdal/${pkgver}/gdal-${pkgver}.tar.gz") @@ -26,7 +26,7 @@ build() { sed -i "s|/usr|/usr/${_arch}|g" configure.ac m4/*.m4 autoreconf -vfi ./autogen.sh - ${_arch}-configure --with-netcdf --with-libtiff --with-sqlite3 --with-geotiff \ + LDFLAGS="-lssp -lssl -lcrypt32" ${_arch}-configure --with-netcdf --with-libtiff --with-sqlite3 --with-geotiff \ --with-mysql --with-curl --with-hdf5 --with-perl --with-geos \ --with-png --with-poppler --with-spatialite --with-openjpeg \ --without-python --without-perl \ @@ -40,7 +40,7 @@ build() { package () { for _arch in ${_architectures}; do - cd "${srcdir}/gdal-${pkgver}/build-${_arch}" + cd "${srcdir}/build-${_arch}" make DESTDIR="${pkgdir}" install rm "$pkgdir"/usr/${_arch}/bin/*.exe rm -rf "$pkgdir"/usr/${_arch}/share |