diff options
Diffstat (limited to 'network/cacti-spine/cacti-spine.SlackBuild')
-rw-r--r-- | network/cacti-spine/cacti-spine.SlackBuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/network/cacti-spine/cacti-spine.SlackBuild b/network/cacti-spine/cacti-spine.SlackBuild index 99b76aa5a8918..5a27f840cae40 100644 --- a/network/cacti-spine/cacti-spine.SlackBuild +++ b/network/cacti-spine/cacti-spine.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for cacti-spine -# Copyright 2013-2016 Thibaut Notteboom, Paris, FRANCE +# Copyright 2013-2017 Thibaut Notteboom, Paris, FRANCE # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=cacti-spine -VERSION=${VERSION:-0.8.8h} +VERSION=${VERSION:-1.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -74,6 +74,7 @@ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ + --mandir=/usr/man \ --disable-static \ --build=$ARCH-slackware-linux @@ -82,9 +83,12 @@ make install-strip DESTDIR=$PKG mv $PKG/etc/spine.conf.dist $PKG/etc/spine.conf.new +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ - COPYING ChangeLog INSTALL LICENSE LICENSE.LGPL README \ + ChangeLog INSTALL LICENSE README.md \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |