From 08776bda95200b97b4ef0952b11adb08279e96b7 Mon Sep 17 00:00:00 2001 From: Benjamin Trigona-Harany Date: Mon, 7 Sep 2015 21:26:30 -0700 Subject: gis/pgrouting: Updated for version 2.1.0. Signed-off-by: Benjamin Trigona-Harany --- gis/pgrouting/pgrouting.SlackBuild | 12 ++++-------- gis/pgrouting/pgrouting.info | 6 +++--- 2 files changed, 7 insertions(+), 11 deletions(-) (limited to 'gis') diff --git a/gis/pgrouting/pgrouting.SlackBuild b/gis/pgrouting/pgrouting.SlackBuild index 6a981de880..7ca15fb9a4 100644 --- a/gis/pgrouting/pgrouting.SlackBuild +++ b/gis/pgrouting/pgrouting.SlackBuild @@ -25,7 +25,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pgrouting -VERSION=${VERSION:-2.0.0} +VERSION=${VERSION:-2.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,14 +60,10 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -rm -rf $TMP/$PRGNAM-$VERSION +rm -rf $TMP/$PRGNAM-$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 +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$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 \) \ diff --git a/gis/pgrouting/pgrouting.info b/gis/pgrouting/pgrouting.info index 3333078229..11a1a014c3 100644 --- a/gis/pgrouting/pgrouting.info +++ b/gis/pgrouting/pgrouting.info @@ -1,8 +1,8 @@ PRGNAM="pgrouting" -VERSION="2.0.0" +VERSION="2.1.0" HOMEPAGE="http://pgrouting.org" -DOWNLOAD="https://github.com/pgRouting/pgrouting/archive/v2.0.0.tar.gz" -MD5SUM="a7b573b7aa4d038bdb24d2401bb33013" +DOWNLOAD="https://github.com/pgRouting/pgrouting/archive/pgrouting-2.1.0.tar.gz" +MD5SUM="c500b11d63893ba295ff6ef8ed255093" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="CGAL postgis" -- cgit v1.2.3