From 54d25e625afe6b7a8abdd8da54928bdb1708a2b9 Mon Sep 17 00:00:00 2001 From: Benjamin Trigona-Harany Date: Mon, 2 Apr 2018 20:13:51 -0700 Subject: gis/osm2pgrouting: Updated for version 2.3.4. Signed-off-by: Benjamin Trigona-Harany --- gis/osm2pgrouting/osm2pgrouting.SlackBuild | 13 +++++++------ gis/osm2pgrouting/osm2pgrouting.info | 6 +++--- 2 files changed, 10 insertions(+), 9 deletions(-) (limited to 'gis/osm2pgrouting') 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 +# Copyright 2013-2018 Benjamin Trigona-Harany # 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" -- cgit v1.2.3