diff options
Diffstat (limited to 'gis/pgrouting/pgrouting.SlackBuild')
-rw-r--r-- | gis/pgrouting/pgrouting.SlackBuild | 7 |
1 files changed, 5 insertions, 2 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 |