From 00d32b0938eebfa45f0543cae655abf5233eb99c Mon Sep 17 00:00:00 2001 From: root Date: Thu, 12 Jul 2012 00:04:35 +0000 Subject: Thu Jul 12 00:04:34 UTC 2012 --- community-staging/mapnik/PKGBUILD | 42 +++++++++++++++++++++++++++++++++ community-staging/mapnik/mapnik.install | 11 +++++++++ 2 files changed, 53 insertions(+) create mode 100644 community-staging/mapnik/PKGBUILD create mode 100644 community-staging/mapnik/mapnik.install (limited to 'community-staging/mapnik') diff --git a/community-staging/mapnik/PKGBUILD b/community-staging/mapnik/PKGBUILD new file mode 100644 index 000000000..c7af04e67 --- /dev/null +++ b/community-staging/mapnik/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: PKGBUILD 73589 2012-07-10 21:24:11Z spupykin $ +# Maintainer: Sergej Pupykin +# Contributor: David Dent +# Contributor: orbisvicis + +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 +} diff --git a/community-staging/mapnik/mapnik.install b/community-staging/mapnik/mapnik.install new file mode 100644 index 000000000..46f265d5b --- /dev/null +++ b/community-staging/mapnik/mapnik.install @@ -0,0 +1,11 @@ +post_install() { + /sbin/ldconfig +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} -- cgit v1.2.3-54-g00ecf