diff options
author | Benjamin Trigona-Harany <slackbuilds@jaxartes.net> | 2021-04-18 02:03:31 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-18 02:00:31 -0500 |
commit | 65a319aeed41f6bc9438138b900a0aacefa4f087 (patch) | |
tree | 7aa83eb2c7e473cf4e57c8f5cfe23df06e3be960 /gis/mapnik/mapnik.SlackBuild | |
parent | dc5a685498a894b5d1294ee8ecc02d58e466aaa3 (diff) |
gis/mapnik: Updated for version 3.1.0.
Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
Diffstat (limited to 'gis/mapnik/mapnik.SlackBuild')
-rw-r--r-- | gis/mapnik/mapnik.SlackBuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gis/mapnik/mapnik.SlackBuild b/gis/mapnik/mapnik.SlackBuild index f72a0c8034e23..04828891ce211 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 |