diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2013-03-28 16:32:45 +0100 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2013-03-28 16:32:45 +0100 |
commit | e4421c38da95569f796d29c83a54f750e5222545 (patch) | |
tree | 3b7ac69f38e8a83d0dc58b69305011d095c5ceb0 /community/gdal | |
parent | 3ffe7613c97fecff8c5710dfbd44a984eaae9adc (diff) | |
parent | 0fbe25a10dce8ec16455854ed6929b688f98cb36 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts:
community/erlang/PKGBUILD
community/haskell-x11-xft/PKGBUILD
community/libgdamm/PKGBUILD
community/luasql/PKGBUILD
community/myodbc/PKGBUILD
community/python2-basemap/PKGBUILD
community/ruby-cairo/PKGBUILD
community/ruby-gtk2/PKGBUILD
community/stardict/PKGBUILD
core/diffutils/PKGBUILD
core/libsasl/PKGBUILD
core/systemd/PKGBUILD
extra/anjuta/PKGBUILD
extra/ardour/PKGBUILD
extra/boost/PKGBUILD
extra/calligra/PKGBUILD
extra/gnokii/PKGBUILD
extra/icu/PKGBUILD
extra/libgda/PKGBUILD
extra/libmtp/PKGBUILD
extra/lighttpd/PKGBUILD
extra/mariadb/PKGBUILD
extra/mysql/PKGBUILD
extra/php/PKGBUILD
extra/qt3/PKGBUILD
extra/qt4/PKGBUILD
extra/qt5/PKGBUILD
extra/tracker/PKGBUILD
extra/vlc/PKGBUILD
extra/webkitgtk/PKGBUILD
libre/lilo/PKGBUILD
libre/psi/PKGBUILD
Diffstat (limited to 'community/gdal')
-rw-r--r-- | community/gdal/PKGBUILD | 33 |
1 files changed, 19 insertions, 14 deletions
diff --git a/community/gdal/PKGBUILD b/community/gdal/PKGBUILD index a3eb291c0..e28887768 100644 --- a/community/gdal/PKGBUILD +++ b/community/gdal/PKGBUILD @@ -1,26 +1,26 @@ -# $Id: PKGBUILD 82847 2013-01-25 01:53:13Z svenstaro $ +# $Id: PKGBUILD 87003 2013-03-25 19:16:43Z bpiotrowski $ # Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> # Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org # Contributor: William Rea <sillywilly@gmail.com> pkgname=gdal -pkgver=1.9.1 +pkgver=1.9.2 pkgrel=1 pkgdesc="A translator library for raster geospatial data formats" arch=('i686' 'x86_64' 'mips64el') url="http://www.gdal.org/" license=('custom') -depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg' 'libpng' 'libtiff' 'netcdf' 'python2' 'python2-numpy' 'cfitsio' 'sqlite' 'libmysqlclient' 'postgresql-libs') -makedepends=('perl' 'swig') +depends=('curl' 'geos' 'giflib' 'hdf5' 'libgeotiff' 'libjpeg' 'libpng' 'libtiff' 'netcdf' 'python2' 'python2-numpy' 'cfitsio' 'sqlite' 'libmariadbclient' 'postgresql-libs') +makedepends=('perl' 'swig' 'chrpath') optdepends=('postgresql: postgresql database support' - 'mysql: mysql database support' + 'mariadb: mariab database support' 'perl: perl binding support' 'swig: perl binding support') options=('!libtool') changelog=$pkgname.changelog source=(http://download.osgeo.org/${pkgname}/${pkgname}-${pkgver}.tar.gz gdal-1.5.1-python-install.patch) -md5sums=('c5cf09b92dac1f5775db056e165b34f5' +md5sums=('3f39db89f4710269b3a8bf94178e07aa' '81afc1c26d29cee84aadb6924fe33861') build() { @@ -29,8 +29,8 @@ build() { # bug 23654 export LDFLAGS="$LDFLAGS -Wl,--as-needed" - cd ${srcdir}/$pkgname-$pkgver - patch -Np0 -i ${srcdir}/gdal-1.5.1-python-install.patch + cd "${srcdir}/$pkgname-$pkgver" + patch -Np0 -i "${srcdir}/gdal-1.5.1-python-install.patch" # python2 fixes sed -i 's_python python1.5_python2 python python1.5_' configure @@ -45,19 +45,24 @@ build() { # workaround for bug #13646 sed -i 's/PY_HAVE_SETUPTOOLS=1/PY_HAVE_SETUPTOOLS=/g' ./GDALmake.opt sed -i 's/EXE_DEP_LIBS/KILL_EXE_DEP_LIBS/' apps/GNUmakefile - install -d ${pkgdir}/usr/lib/python2.7/site-packages/ make } package () { - cd ${srcdir}/$pkgname-$pkgver - - make DESTDIR=${pkgdir} install + cd "${srcdir}/$pkgname-$pkgver" + install -d "${pkgdir}/usr/lib/python2.7/site-packages/" + make DESTDIR="${pkgdir}" install # install license - install -D -m644 LICENSE.TXT ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + install -D -m644 LICENSE.TXT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" #FS15477 clean up junks - rm -f ${pkgdir}/usr/bin/*.dox + rm -f "${pkgdir}"/usr/bin/*.dox + + # Remove RPATH + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OSR/OSR.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/OGR/OGR.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/GDAL.so + chrpath --delete "${pkgdir}"/usr/lib/perl5/${CARCH}-linux-thread-multi/auto/Geo/GDAL/Const/Const.so } |