summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Benjamin Trigona-Harany <bosth@alumni.sfu.ca>2017-03-20 20:50:16 -0700
committer David Spencer <idlemoor@slackbuilds.org>2017-03-25 00:08:33 +0000
commitd650a235629578e84c9e3b5477adc95541621c6a (patch)
tree586954cfea2ca60e5796b6f7a5d745e46e83072c
parent31c8b4cf7d1c46c35c421766429a371fe86aa4ff (diff)
downloadslackbuilds-d650a235629578e84c9e3b5477adc95541621c6a.tar.gz
slackbuilds-d650a235629578e84c9e3b5477adc95541621c6a.tar.xz
gis/pgrouting: Updated for version 2.4.0.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
-rw-r--r--gis/pgrouting/pgrouting.SlackBuild7
-rw-r--r--gis/pgrouting/pgrouting.info6
2 files changed, 8 insertions, 5 deletions
diff --git a/gis/pgrouting/pgrouting.SlackBuild b/gis/pgrouting/pgrouting.SlackBuild
index 3fa91d76fe..8b01955e6b 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.3.2}
+VERSION=${VERSION:-2.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -82,7 +82,7 @@ cd build
-DWITH_DOC=$WITH_DOC \
..
- make VERBOSE=1
+ make VERBOSE=1 all doc
make install VERBOSE=1 DESTDIR=$PKG
cd ..
@@ -92,6 +92,9 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+if [ "$WITH_DOC" = "YES" ]; then
+ cp -r build/doc/html $PKG/usr/doc/$PRGNAM-$VERSION
+fi
mkdir $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/gis/pgrouting/pgrouting.info b/gis/pgrouting/pgrouting.info
index 74c30dcedf..421156bdcf 100644
--- a/gis/pgrouting/pgrouting.info
+++ b/gis/pgrouting/pgrouting.info
@@ -1,8 +1,8 @@
PRGNAM="pgrouting"
-VERSION="2.3.2"
+VERSION="2.4.0"
HOMEPAGE="http://pgrouting.org"
-DOWNLOAD="https://github.com/pgRouting/pgrouting/archive/v2.3.2/pgrouting-2.3.2.tar.gz"
-MD5SUM="6f5832baf913cd927d03499d4507f296"
+DOWNLOAD="https://github.com/pgRouting/pgrouting/archive/v2.4.0/pgrouting-2.4.0.tar.gz"
+MD5SUM="87654c755c3ce03036e1a9762486d9f9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="CGAL postgis"