summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2016-06-02 12:52:59 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-06-04 01:20:45 +0700
commite8e1961e16f9e9d0b4aa81e5074cdd8c4e7d52b2 (patch)
tree6f74fecbe61fde48ceb5eac59ef5fa60f6256f24
parentf5d11c79a4a0404c361279d2cfb9b053f110d49d (diff)
downloadslackbuilds-e8e1961e16f9e9d0b4aa81e5074cdd8c4e7d52b2.tar.gz
gis/osm2pgrouting: Update DOWNLOAD.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
-rw-r--r--gis/osm2pgrouting/osm2pgrouting.SlackBuild18
-rw-r--r--gis/osm2pgrouting/osm2pgrouting.info4
2 files changed, 9 insertions, 13 deletions
diff --git a/gis/osm2pgrouting/osm2pgrouting.SlackBuild b/gis/osm2pgrouting/osm2pgrouting.SlackBuild
index 5abb5e0a6d..fd244c8b67 100644
--- a/gis/osm2pgrouting/osm2pgrouting.SlackBuild
+++ b/gis/osm2pgrouting/osm2pgrouting.SlackBuild
@@ -58,20 +58,16 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-rm -rf $TMP/$PRGNAM-$VERSION
cd $TMP
-if [ -e $CWD/v$VERSION.tar.gz ]; then
- tar xvf $CWD/v$VERSION.tar.gz
-else
- tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-fi
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
sed -i "s_/usr/share/bin_/usr/bin_" CMakeLists.txt
mkdir -p build
diff --git a/gis/osm2pgrouting/osm2pgrouting.info b/gis/osm2pgrouting/osm2pgrouting.info
index 3bab742317..5cf1cfa33c 100644
--- a/gis/osm2pgrouting/osm2pgrouting.info
+++ b/gis/osm2pgrouting/osm2pgrouting.info
@@ -1,8 +1,8 @@
PRGNAM="osm2pgrouting"
VERSION="2.0.0"
HOMEPAGE="http://pgrouting.org"
-DOWNLOAD="https://github.com/pgRouting/osm2pgrouting/archive/v2.0.0.tar.gz"
-MD5SUM="ee7a9e5caa0a40511b8210f9581e9e9a"
+DOWNLOAD="https://github.com/pgRouting/osm2pgrouting/archive/osm2pgrouting-2.0.0/osm2pgrouting-2.0.0.tar.gz"
+MD5SUM="79fbfe4cc1e75169f10744f9ab158139"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="pgrouting"