mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
25 lines
877 B
Bash
25 lines
877 B
Bash
# $Id: PKGBUILD 2741 2009-09-21 23:46:46Z ibiru $
|
|
# Maintainer: dibblethewrecker <dibblethewrecker.at.jiwe.org>
|
|
|
|
pkgname=gdal-grass
|
|
pkgver=1.4.3
|
|
pkgrel=4
|
|
pkgdesc="Standalone drivers for GRASS raster and vector files"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.gdal.org/dl/"
|
|
license=('GPL')
|
|
depends=('gdal' 'grass')
|
|
makedepends=('fftw')
|
|
source=(http://download.osgeo.org/gdal/$pkgname-$pkgver.tar.gz
|
|
'gdal-grass-destdir.patch')
|
|
md5sums=('2bfb7640e03b4d9d012f1a5d62c0351d' '78f74b862040e47f2c94279692d5cba6')
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
./configure --prefix=/usr --with-gdal=/usr/bin/gdal-config --with-grass=/opt/grass || return 1
|
|
patch -Np 0 -i "$srcdir/gdal-grass-destdir.patch" || return 1
|
|
make || return 1
|
|
install -d "$pkgdir/usr/share/gdal/grass/etc"
|
|
install -d "$pkgdir/usr/share/gdal/grass/driver/db"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|