diff options
author | Benjamin Trigona-Harany <bosth@alumni.sfu.ca> | 2018-03-20 20:45:43 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-03-24 06:50:35 +0700 |
commit | a1f49021aeacfb6aa8bcdd8d1322f7066d24e562 (patch) | |
tree | b3272b606cee97d722968a87468e03b423037877 /gis/pgrouting/pgrouting.SlackBuild | |
parent | d8362b085a2f4ab9a5ce8a61d26906736813a435 (diff) |
gis/pgrouting: Updated for version 2.6.0.
Diffstat (limited to 'gis/pgrouting/pgrouting.SlackBuild')
-rwxr-xr-x[-rw-r--r--] | gis/pgrouting/pgrouting.SlackBuild | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/gis/pgrouting/pgrouting.SlackBuild b/gis/pgrouting/pgrouting.SlackBuild index 83e099944af42..aa84a0483a7bb 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 |