aboutsummaryrefslogtreecommitdiff
path: root/gis/pgrouting/pgrouting.SlackBuild
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2017-03-20 20:50:16 -0700
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 00:08:33 +0000
commitd650a235629578e84c9e3b5477adc95541621c6a (patch)
tree586954cfea2ca60e5796b6f7a5d745e46e83072c /gis/pgrouting/pgrouting.SlackBuild
parent31c8b4cf7d1c46c35c421766429a371fe86aa4ff (diff)
gis/pgrouting: Updated for version 2.4.0.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'gis/pgrouting/pgrouting.SlackBuild')
-rw-r--r--gis/pgrouting/pgrouting.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/gis/pgrouting/pgrouting.SlackBuild b/gis/pgrouting/pgrouting.SlackBuild
index 3fa91d76fe17a..8b01955e6b94d 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