summaryrefslogtreecommitdiff
path: root/gis/osm2pgrouting
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2018-04-02 20:13:51 -0700
committerBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2018-04-02 20:18:57 -0700
commit54d25e625afe6b7a8abdd8da54928bdb1708a2b9 (patch)
tree6ba78af6463e76dfccded92c0c57ead24e2d9755 /gis/osm2pgrouting
parentc38a576380d76050791f2f9349755ff866a825ec (diff)
downloadslackbuilds-54d25e625afe6b7a8abdd8da54928bdb1708a2b9.tar.gz
gis/osm2pgrouting: Updated for version 2.3.4.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'gis/osm2pgrouting')
-rw-r--r--gis/osm2pgrouting/osm2pgrouting.SlackBuild13
-rw-r--r--gis/osm2pgrouting/osm2pgrouting.info6
2 files changed, 10 insertions, 9 deletions
diff --git a/gis/osm2pgrouting/osm2pgrouting.SlackBuild b/gis/osm2pgrouting/osm2pgrouting.SlackBuild
index c6b8122996..dbe4d2ba31 100644
--- a/gis/osm2pgrouting/osm2pgrouting.SlackBuild
+++ b/gis/osm2pgrouting/osm2pgrouting.SlackBuild
@@ -2,7 +2,7 @@
# SlackBuild script for osm2pgrouting
-# Copyright 2013 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2013-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=osm2pgrouting
-VERSION=${VERSION:-2.3.3}
+VERSION=${VERSION:-2.3.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,24 +65,25 @@ find -L . \
\( -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
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
..
- make VERBOSE=1
- make install VERBOSE=1 DESTDIR=$PKG
+ make install DESTDIR=$PKG
cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS.md COPYING NEWS Readme.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ AUTHORS.md COPYING NEWS Readme.md \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir $PKG/install
diff --git a/gis/osm2pgrouting/osm2pgrouting.info b/gis/osm2pgrouting/osm2pgrouting.info
index a201889415..c34a6d4623 100644
--- a/gis/osm2pgrouting/osm2pgrouting.info
+++ b/gis/osm2pgrouting/osm2pgrouting.info
@@ -1,8 +1,8 @@
PRGNAM="osm2pgrouting"
-VERSION="2.3.3"
+VERSION="2.3.4"
HOMEPAGE="http://pgrouting.org"
-DOWNLOAD="https://github.com/pgRouting/osm2pgrouting/archive/v2.3.3/osm2pgrouting-2.3.3.tar.gz"
-MD5SUM="0183318a3d502f90c02e61e651490330"
+DOWNLOAD="https://github.com/pgRouting/osm2pgrouting/archive/v2.3.4/osm2pgrouting-2.3.4.tar.gz"
+MD5SUM="c61dae9d4f3b3cf241bd145754e0ff68"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libpqxx pgrouting"