aboutsummaryrefslogtreecommitdiff
path: root/gis/mapnik/mapnik.SlackBuild
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2017-02-08 07:36:28 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-11 07:24:54 +0700
commit84a1f7eca32a37a1328d037104c1826f6fa1b7d2 (patch)
tree6c85742b7428381b567a3805ec638ef0de830641 /gis/mapnik/mapnik.SlackBuild
parenta9078b0c0a15eec5cd60cfd20ea236b7e6235bf3 (diff)
gis/mapnik: Updated for version 3.0.13.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'gis/mapnik/mapnik.SlackBuild')
-rw-r--r--gis/mapnik/mapnik.SlackBuild15
1 files changed, 11 insertions, 4 deletions
diff --git a/gis/mapnik/mapnik.SlackBuild b/gis/mapnik/mapnik.SlackBuild
index a44055b7faed..5e4283ac3cf9 100644
--- a/gis/mapnik/mapnik.SlackBuild
+++ b/gis/mapnik/mapnik.SlackBuild
@@ -22,7 +22,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mapnik
-VERSION=${VERSION:-3.0.12}
+VERSION=${VERSION:-3.0.13}
+VARIANT=1.1.3
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,9 +61,15 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-v$VERSION
-tar xjf $CWD/$PRGNAM-v$VERSION.tar.bz2
-cd $PRGNAM-v$VERSION
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+
+# mapnik needs files from git submodule
+cd deps/mapbox
+tar xvf $CWD/variant-$VARIANT.tar.gz -C variant --strip-components 1
+cd -
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \