diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/shapelib/PKGBUILD |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/shapelib/PKGBUILD')
-rw-r--r-- | community/shapelib/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/community/shapelib/PKGBUILD b/community/shapelib/PKGBUILD new file mode 100644 index 000000000..7021f6efa --- /dev/null +++ b/community/shapelib/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 21347 2010-07-16 01:42:18Z tdziedzic $ +#Contributor: Bob Finch <w9ya@arrl.net> + +pkgname=shapelib +pkgver=1.2.10 +pkgrel=4 +pkgdesc='simple C API for reading and writing ESRI Shapefiles' +arch=('i686' 'x86_64') +url='http://shapelib.maptools.org/' +license=('LGPL' 'MIT') +options=('!libtool') +source=("http://dl.maptools.org/dl/${pkgname}/${pkgname}-${pkgver}.tar.gz" + 'LICENSE') +md5sums=('4d96bd926167193d27bf14d56e2d484e' + '431dfe7afb1d2c082682ecfcc9ee7a34') + +build() { + cd ${pkgname}-${pkgver} + + sed -i -e s:'-O2':"${CFLAGS}": Makefile + make lib + + sed -i -e s:/usr/local:${pkgdir}/usr: Makefile + sed -i -e s:/usr/bin/install:/bin/install: Makefile + make lib_install + install -D -m644 ../LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE +} |