summaryrefslogtreecommitdiff
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
parenta9078b0c0a15eec5cd60cfd20ea236b7e6235bf3 (diff)
downloadslackbuilds-84a1f7eca32a37a1328d037104c1826f6fa1b7d2.tar.gz
gis/mapnik: Updated for version 3.0.13.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
-rw-r--r--gis/mapnik/mapnik.SlackBuild15
-rw-r--r--gis/mapnik/mapnik.info8
2 files changed, 16 insertions, 7 deletions
diff --git a/gis/mapnik/mapnik.SlackBuild b/gis/mapnik/mapnik.SlackBuild
index a44055b7fa..5e4283ac3c 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 \) \
diff --git a/gis/mapnik/mapnik.info b/gis/mapnik/mapnik.info
index b0695d67eb..a8c7ccda6b 100644
--- a/gis/mapnik/mapnik.info
+++ b/gis/mapnik/mapnik.info
@@ -1,8 +1,10 @@
PRGNAM="mapnik"
-VERSION="3.0.12"
+VERSION="3.0.13"
HOMEPAGE="http://mapnik.org"
-DOWNLOAD="https://github.com/mapnik/mapnik/releases/download/v3.0.12/mapnik-v3.0.12.tar.bz2"
-MD5SUM="221c1fa8e63f4cc93b3040e9382e3394"
+DOWNLOAD="https://github.com/mapnik/mapnik/archive/v3.0.13/mapnik-3.0.13.tar.gz \
+ https://github.com/mapbox/variant/archive/v1.1.3/variant-1.1.3.tar.gz"
+MD5SUM="72e70fcbafd7fb7829a3ff52a69cdc7f \
+ 025768841751da0bb16e25bc0e4a398a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""