aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gis/osm2pgsql/osm2pgsql.SlackBuild9
-rw-r--r--gis/osm2pgsql/osm2pgsql.info6
2 files changed, 7 insertions, 8 deletions
diff --git a/gis/osm2pgsql/osm2pgsql.SlackBuild b/gis/osm2pgsql/osm2pgsql.SlackBuild
index f3606a99ac54..cf60b41fe3d1 100644
--- a/gis/osm2pgsql/osm2pgsql.SlackBuild
+++ b/gis/osm2pgsql/osm2pgsql.SlackBuild
@@ -22,8 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=osm2pgsql
-GITREV=28ce89dd28c20d94a98e29f41b8e76cfc7b6b823
-VERSION=${VERSION:-git28ce89d}
+VERSION=${VERSION:-0.94.0_RC1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -59,9 +58,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$GITREV
-tar xvf $CWD/$PRGNAM-$GITREV.tar.gz
-cd $PRGNAM-$GITREV
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$(echo $VERSION | tr '_' '-').tar.gz
+cd $PRGNAM-$(echo $VERSION | tr '_' '-')
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 9e632b5cbfcc..fc8f339125dd 100644
--- a/gis/osm2pgsql/osm2pgsql.info
+++ b/gis/osm2pgsql/osm2pgsql.info
@@ -1,8 +1,8 @@
PRGNAM="osm2pgsql"
-VERSION="git28ce89d"
+VERSION="0.94.0_RC1"
HOMEPAGE="https://wiki.openstreetmap.org/wiki/Osm2pgsql"
-DOWNLOAD="https://github.com/openstreetmap/osm2pgsql/archive/28ce89dd28c20d94a98e29f41b8e76cfc7b6b823/osm2pgsql-28ce89dd28c20d94a98e29f41b8e76cfc7b6b823.tar.gz"
-MD5SUM="32ec87993608b1587a51e360dde9cfde"
+DOWNLOAD="https://github.com/openstreetmap/osm2pgsql/archive/0.94.0-RC1/osm2pgsql-0.94.0-RC1.tar.gz"
+MD5SUM="ba89304bf1d71615f5de7e72794240d0"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lua postgis"