diff options
author | root <root@rshg054.dnsready.net> | 2012-07-17 00:01:52 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-07-17 00:01:52 +0000 |
commit | 412d061bfbf23d1e908eed3f8405b1af46fb1ba8 (patch) | |
tree | ee137173c889a2b7279200c20b168f9d9b9fdd64 /community-testing/mapnik/PKGBUILD | |
parent | 50a1eb604b2d5503a06d56b76347faa581160245 (diff) |
Tue Jul 17 00:01:52 UTC 2012
Diffstat (limited to 'community-testing/mapnik/PKGBUILD')
-rw-r--r-- | community-testing/mapnik/PKGBUILD | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/community-testing/mapnik/PKGBUILD b/community-testing/mapnik/PKGBUILD new file mode 100644 index 000000000..df8d5dd90 --- /dev/null +++ b/community-testing/mapnik/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 73762 2012-07-15 13:19:10Z ibiru $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: David Dent <thewinch@gmail.com> +# Contributor: orbisvicis <orbisvicis@gmail.com> + +pkgname=mapnik +pkgver=2.0.1 +pkgrel=1 +pkgdesc="Free Toolkit for developing mapping applications. Above all Mapnik is about rendering beautiful maps" +arch=('i686' 'x86_64') +url="http://mapnik.org/" +license=('LGPL') +depends=('boost-libs' 'icu' 'libpng' 'libjpeg' 'libtiff' 'freetype2' + 'libxml2' 'python2' 'proj' 'cairo' 'cairomm' 'pycairo' + 'postgresql-libs' 'postgis' 'gdal' 'curl' 'libltdl') +optdepends=('libxslt: Web Map Service' + 'python2-lxml: Web Map Service' + 'python-imaging: Web Map Service' + 'python-nose: Web Map Service' + 'apache: Web Map Service' + 'mod_fastcgi: Web Map Service - or:' + 'mod_fcgid: Web Map Service - or:' + 'mod_wsgi: Web Map Service') +makedepends=('scons' 'boost') +install="mapnik.install" +source=("https://github.com/downloads/mapnik/mapnik/mapnik-v$pkgver.tar.bz2") +md5sums=('e3dd09991340e2568b99f46bac34b0a8') + +build() { + cd "$srcdir/$pkgname-v$pkgver" + sed -i 's|lib64|lib|g' SConstruct + scons configure \ + PREFIX="/usr" \ + INPUT_PLUGINS=all \ + DESTDIR="$pkgdir" + scons +} + +package(){ + cd "$srcdir/$pkgname-v$pkgver" + scons install +} |