diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2015-05-28 11:29:47 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2015-05-28 11:29:47 -0300 |
commit | fcb2d26cfa3b265200b5ae9e949d787a56bd4f14 (patch) | |
tree | 60bf5147d7608e6217b37e6807c386b3a43a2b36 /libre/mapnik | |
parent | 19fe7e7da672746eea0c2cae0307cea5e54fb23e (diff) | |
parent | b0bb663657922f0154dd8d60a6d5455f9a2bfe3c (diff) | |
download | abslibre-fcb2d26cfa3b265200b5ae9e949d787a56bd4f14.tar.gz abslibre-fcb2d26cfa3b265200b5ae9e949d787a56bd4f14.tar.bz2 abslibre-fcb2d26cfa3b265200b5ae9e949d787a56bd4f14.zip |
Merge branch 'master' of git://projects.parabola.nu/abslibre/abslibre
Diffstat (limited to 'libre/mapnik')
-rw-r--r-- | libre/mapnik/PKGBUILD | 53 | ||||
-rw-r--r-- | libre/mapnik/mapnik.install | 11 |
2 files changed, 64 insertions, 0 deletions
diff --git a/libre/mapnik/PKGBUILD b/libre/mapnik/PKGBUILD new file mode 100644 index 000000000..6e6676ecd --- /dev/null +++ b/libre/mapnik/PKGBUILD @@ -0,0 +1,53 @@ +# $Id: PKGBUILD 132059 2015-04-23 16:30:52Z spupykin $ +# Maintainer (Arch): Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor (Arch): David Dent <thewinch@gmail.com> +# Contributor (Arch): orbisvicis <orbisvicis@gmail.com> +# Maintainer: André Silva <emulatorman@parabola.nu> + +pkgname=mapnik +pkgver=2.2.0.654.g718a8b3 +pkgrel=5.parabola1 +pkgdesc="Free Toolkit for developing mapping applications. Above all Mapnik is about rendering beautiful maps, without nonfree mod_fastcgi recommendation" +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' + 'python2-pillow: Web Map Service' + 'python-nose: Web Map Service' + 'apache: Web Map Service' + 'mod_fcgid: Web Map Service - or:' + 'mod_wsgi2: Web Map Service') +makedepends=('scons' 'boost' 'git') +install="mapnik.install" +#source=("$pkgname-$pkgver.tar.gz::https://github.com/mapnik/mapnik/archive/v$pkgver.tar.gz") +source=("git://github.com/mapnik/mapnik.git#branch=2.3.x") +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/$pkgname" + + git describe --long | cut -c2- | sed 's/-/./g' +} + +build() { + cd "$srcdir/$pkgname" + + sed -i 's|lib64|lib|g' SConstruct + sed -i 's|python|python2|' \ + utils/performance/mapnik-speed-check \ + utils/upgrade_map_xml/*.py + scons configure \ + PREFIX="/usr" \ + INPUT_PLUGINS=all \ + DESTDIR="$pkgdir" + scons $MAKEFLAGS +} + +package(){ + cd "$srcdir/$pkgname" + scons install +} diff --git a/libre/mapnik/mapnik.install b/libre/mapnik/mapnik.install new file mode 100644 index 000000000..46f265d5b --- /dev/null +++ b/libre/mapnik/mapnik.install @@ -0,0 +1,11 @@ +post_install() { + /sbin/ldconfig +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |