summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Benjamin Trigona-Harany <bosth@alumni.sfu.ca>2015-07-09 11:58:29 -0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-07-12 10:40:39 +0700
commitc0aa5961fb334a7da85a5a6bd27f1dbbf9e4a387 (patch)
tree18395af6808a9406b6af83e064493a432963ff9a
parent291a448d425a520e6e648f789e941965e7dbb21a (diff)
downloadslackbuilds-c0aa5961fb334a7da85a5a6bd27f1dbbf9e4a387.tar.gz
slackbuilds-c0aa5961fb334a7da85a5a6bd27f1dbbf9e4a387.tar.xz
gis/mapnik: Updated for version 3.0.0.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
-rw-r--r--gis/mapnik/README13
-rw-r--r--gis/mapnik/mapnik.SlackBuild5
-rw-r--r--gis/mapnik/mapnik.info8
3 files changed, 15 insertions, 11 deletions
diff --git a/gis/mapnik/README b/gis/mapnik/README
index 86fba9844e..09f8877b87 100644
--- a/gis/mapnik/README
+++ b/gis/mapnik/README
@@ -1,8 +1,9 @@
-Mapnik is a Free Toolkit for developing mapping applications using a C++
-API or Python bindings.
-
-Mapnik can be used for both desktop map design and web development.
+Mapnik is a free toolkit for developing mapping applications. Mapnik can be
+used for both desktop map design and web development.
Optional dependencies:
-- gdal: for GDAL and OGR plugin support
-- postgis: for PostGIS plugin support
+- gdal: GDAL and OGR plugin support
+- libwebp: WebP image support
+- librasterlite: SpatiaLite raster support
+- postgis: PostGIS plugin support
+- proj: reprojection support
diff --git a/gis/mapnik/mapnik.SlackBuild b/gis/mapnik/mapnik.SlackBuild
index 63e1958434..ec36b386df 100644
--- a/gis/mapnik/mapnik.SlackBuild
+++ b/gis/mapnik/mapnik.SlackBuild
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mapnik
-VERSION=${VERSION:-2.2.0}
+VERSION=${VERSION:-3.0.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,12 +71,15 @@ find -L . \
-exec chmod 644 {} \;
./configure \
+ CC=clang \
+ CXX=clang++ \
JOBS=$JOBS \
CUSTOM_CFLAGS="$SLKCFLAGS" \
CUSTOM_CXXFLAGS="$SLKCFLAGS" \
PREFIX=/usr \
LIBDIR_SCHEMA=lib$LIBDIRSUFFIX \
SYSTEM_FONTS=/usr/share/fonts \
+ INPUT_PLUGINS=sqlite,ogr,shape,geojson,gdal,pgraster,raster,topojson,postgis,csv,rasterlite,osm \
DESTDIR=$PKG
make
make install
diff --git a/gis/mapnik/mapnik.info b/gis/mapnik/mapnik.info
index 2078aa8141..2816a639a9 100644
--- a/gis/mapnik/mapnik.info
+++ b/gis/mapnik/mapnik.info
@@ -1,10 +1,10 @@
PRGNAM="mapnik"
-VERSION="2.2.0"
+VERSION="3.0.0"
HOMEPAGE="http://mapnik.org"
-DOWNLOAD="http://mapnik.s3.amazonaws.com/dist/v2.2.0/mapnik-v2.2.0.tar.bz2"
-MD5SUM="b5357848dc6806bcd43e245f4fdefdaf"
+DOWNLOAD="http://mapnik.s3.amazonaws.com/dist/v3.0.0/mapnik-v3.0.0.tar.bz2"
+MD5SUM="f121e48f735d547d9e37a77b0534f0a4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="proj"
+REQUIRES=""
MAINTAINER="Benjamin Trigona-Harany"
EMAIL="slackbuilds@jaxartes.net"