summaryrefslogtreecommitdiffstats
path: root/gis
diff options
context:
space:
mode:
Diffstat (limited to 'gis')
-rw-r--r--gis/pgrouting/README2
-rwxr-xr-x[-rw-r--r--]gis/pgrouting/pgrouting.SlackBuild14
-rw-r--r--gis/pgrouting/pgrouting.info6
3 files changed, 10 insertions, 12 deletions
diff --git a/gis/pgrouting/README b/gis/pgrouting/README
index 484754b823..2c23f7965b 100644
--- a/gis/pgrouting/README
+++ b/gis/pgrouting/README
@@ -14,5 +14,5 @@ The following algorithms are compiled:
* Traveling Sales Person
* Turn Restriction Shortest Path
-To build the pgRouting documentation, pass WITH_DOC=YES to the script
+To build the pgRouting documentation, pass WITH_DOC=ON to the script
(this requires the Sphinx package to be installed).
diff --git a/gis/pgrouting/pgrouting.SlackBuild b/gis/pgrouting/pgrouting.SlackBuild
index 83e099944a..aa84a0483a 100644..100755
--- 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.5.2}
+VERSION=${VERSION:-2.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,19 +71,17 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-WITH_DOC=${WITH_DOC:-NO}
-
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DWITH_DOC=$WITH_DOC \
+ -DWITH_DOC=${WITH_DOC:-OFF} \
..
- make VERBOSE=1 all doc
- make install VERBOSE=1 DESTDIR=$PKG
+ make all doc
+ make install DESTDIR=$PKG
cd ..
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
@@ -91,10 +89,10 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a CONTRIBUTING.md LICENSE NEWS README.md $PKG/usr/doc/$PRGNAM-$VERSION
-cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-if [ "$WITH_DOC" = "YES" ]; then
+if [ "$WITH_DOC" = "ON" ]; then
cp -r build/doc/html $PKG/usr/doc/$PRGNAM-$VERSION
fi
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/gis/pgrouting/pgrouting.info b/gis/pgrouting/pgrouting.info
index adad4a3b9d..83703d65d6 100644
--- a/gis/pgrouting/pgrouting.info
+++ b/gis/pgrouting/pgrouting.info
@@ -1,8 +1,8 @@
PRGNAM="pgrouting"
-VERSION="2.5.2"
+VERSION="2.6.0"
HOMEPAGE="http://pgrouting.org"
-DOWNLOAD="https://github.com/pgRouting/pgrouting/archive/v2.5.2/pgrouting-2.5.2.tar.gz"
-MD5SUM="164dd4fcd6da086d6558a430a54fc878"
+DOWNLOAD="https://github.com/pgRouting/pgrouting/archive/v2.6.0/pgrouting-2.6.0.tar.gz"
+MD5SUM="84a1a696ba6a76a88bf2bf6329cde59e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="CGAL postgis"