diff options
Diffstat (limited to 'gis')
-rw-r--r-- | gis/osm2pgrouting/osm2pgrouting.SlackBuild | 13 | ||||
-rw-r--r-- | gis/osm2pgrouting/osm2pgrouting.info | 6 |
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" |