summaryrefslogtreecommitdiff
path: root/gis
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2017-10-03 21:01:06 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-10-07 07:02:05 +0700
commit8e8df7f150ed45e3cc784377d40004262fa39d7d (patch)
tree8dc6352b1b19c02cad65f8bc628483c1a00523d3 /gis
parent3e2c7a3f93e9ba1886b6d65539c9b175acafd78b (diff)
downloadslackbuilds-8e8df7f150ed45e3cc784377d40004262fa39d7d.tar.gz
gis/osm2pgsql: Updated for version 0.94.0rc2.
Diffstat (limited to 'gis')
-rw-r--r--gis/osm2pgsql/osm2pgsql.SlackBuild9
-rw-r--r--gis/osm2pgsql/osm2pgsql.info6
2 files changed, 8 insertions, 7 deletions
diff --git a/gis/osm2pgsql/osm2pgsql.SlackBuild b/gis/osm2pgsql/osm2pgsql.SlackBuild
index cf60b41fe3..49d3ea9b44 100644
--- a/gis/osm2pgsql/osm2pgsql.SlackBuild
+++ b/gis/osm2pgsql/osm2pgsql.SlackBuild
@@ -22,7 +22,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=osm2pgsql
-VERSION=${VERSION:-0.94.0_RC1}
+SRCVER=${SRCVER:-0.94.0-RC2}
+VERSION=`echo $SRCVER | tr "[A-Z]" "[a-z]" | tr -d "-"`
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,9 +59,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$(echo $VERSION | tr '_' '-').tar.gz
-cd $PRGNAM-$(echo $VERSION | tr '_' '-')
+rm -rf $PRGNAM-$SRCVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.gz
+cd $PRGNAM-$SRCVER
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/osm2pgsql/osm2pgsql.info b/gis/osm2pgsql/osm2pgsql.info
index fc8f339125..06660b1af5 100644
--- a/gis/osm2pgsql/osm2pgsql.info
+++ b/gis/osm2pgsql/osm2pgsql.info
@@ -1,8 +1,8 @@
PRGNAM="osm2pgsql"
-VERSION="0.94.0_RC1"
+VERSION="0.94.0rc2"
HOMEPAGE="https://wiki.openstreetmap.org/wiki/Osm2pgsql"
-DOWNLOAD="https://github.com/openstreetmap/osm2pgsql/archive/0.94.0-RC1/osm2pgsql-0.94.0-RC1.tar.gz"
-MD5SUM="ba89304bf1d71615f5de7e72794240d0"
+DOWNLOAD="https://github.com/openstreetmap/osm2pgsql/archive/0.94.0-RC2/osm2pgsql-0.94.0-RC2.tar.gz"
+MD5SUM="524ebb954d968834f23c2c3ad6809b61"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua postgis"