summaryrefslogtreecommitdiffstats
path: root/gis/mapnik/mapnik.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'gis/mapnik/mapnik.SlackBuild')
-rw-r--r--gis/mapnik/mapnik.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/gis/mapnik/mapnik.SlackBuild b/gis/mapnik/mapnik.SlackBuild
index f72a0c8034..04828891ce 100644
--- a/gis/mapnik/mapnik.SlackBuild
+++ b/gis/mapnik/mapnik.SlackBuild
@@ -2,7 +2,7 @@
#
# SlackBuild for Mapnik
#
-# Copyright 2012-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2012-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mapnik
-VERSION=${VERSION:-3.0.23}
-VARIANT=1.1.6
+VERSION=${VERSION:-3.1.0}
+VARIANT=1.2.0
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -83,7 +83,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-scons configure \
+python3 scons/scons.py configure \
FAST=True \
CUSTOM_CFLAGS="$SLKCFLAGS" \
CUSTOM_CXXFLAGS="$SLKCFLAGS" \
@@ -93,7 +93,7 @@ scons configure \
INPUT_PLUGINS=all \
CUSTOM_DEFINES="-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 $CUSTOM_DEFINES" \
DESTDIR=$PKG
-make install
+make PYTHON=python3 install
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true