diff options
author | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-04-11 10:57:18 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@kiwwwi.com.ar> | 2012-04-11 10:57:18 -0300 |
commit | c07ca5cb71d277e9f2fd5c7b94cf8a0021bdfab5 (patch) | |
tree | d9d528762b726855cc356781c89abb1768c8be28 /community-testing/mapnik/PKGBUILD | |
parent | ece2137c9569ec806aacf3740df98c399a51b21a (diff) | |
parent | 8119da2eaadf53531cad2aed70981ed4606340d6 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community-testing/sword/PKGBUILD
community/freedroidrpg/PKGBUILD
community/pgadmin3/PKGBUILD
libre/lame-libre/PKGBUILD
testing/dbus-core/PKGBUILD
testing/libwebkit/PKGBUILD
testing/tracker/PKGBUILD
testing/udev/0001-split-usr-always-read-config-files-from-lib-udev.patch
testing/udev/0002-reinstate-TIMEOUT-handling.patch
testing/udev/PKGBUILD
Diffstat (limited to 'community-testing/mapnik/PKGBUILD')
-rw-r--r-- | community-testing/mapnik/PKGBUILD | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/community-testing/mapnik/PKGBUILD b/community-testing/mapnik/PKGBUILD new file mode 100644 index 000000000..3e3ad0524 --- /dev/null +++ b/community-testing/mapnik/PKGBUILD @@ -0,0 +1,54 @@ +# $Id: PKGBUILD 69102 2012-04-09 13:49:40Z tdziedzic $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: David Dent <thewinch@gmail.com> +# Contributor: orbisvicis <orbisvicis@gmail.com> + +pkgname=mapnik +pkgver=0.7.1 +pkgrel=16 +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' 'libtool') + # already in core ('zlib' 'sqlite3') +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') # already in core ('pkg-config') +install="mapnik.install" +source=("http://download.berlios.de/${pkgname}/${pkgname}-${pkgver}.tar.bz2" + 'gcc47.patch') +md5sums=('8f65fda2a792518d6f6be8a85f62fc73' + 'ce7933dc20de7e07427a6a6b5d4fd002') + +build() { + cd "$srcdir/$pkgname-$pkgver" + patch -p1 -i "${srcdir}"/gcc47.patch + + #patch SConstruct so libs end up in /usr/lib not /usr/lib64 on X86_64 + sed -i -e "/LIBDIR_SCHEMA=/s/lib64/lib/" SConstruct + sed -i 's|png_ptr->io_ptr|png_get_io_ptr(png_ptr)|g' src/png_reader.cpp + sed -i 's/-ansi -Wall/-ansi -DBOOST_FILESYSTEM_VERSION=2 -Wall/' SConstruct + + scons configure \ + PREFIX="/usr" \ + INPUT_PLUGINS=all \ + DESTDIR="$pkgdir" + scons +} + +package(){ + cd "$srcdir/$pkgname-$pkgver" + scons install + # fix permissions on SCons-autogenerated files + chmod 644 "${pkgdir}/usr/lib/python2.7/site-packages/mapnik/paths.py" +} |