summaryrefslogtreecommitdiff
path: root/libraries/rrdtool/rrdtool.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/rrdtool/rrdtool.SlackBuild')
-rw-r--r--libraries/rrdtool/rrdtool.SlackBuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/libraries/rrdtool/rrdtool.SlackBuild b/libraries/rrdtool/rrdtool.SlackBuild
index 43b06bb7a3..21bc7e36d7 100644
--- a/libraries/rrdtool/rrdtool.SlackBuild
+++ b/libraries/rrdtool/rrdtool.SlackBuild
@@ -4,7 +4,7 @@
# Copyright 2007, 2008 Michael Johnson <youngmug at animeneko dot net>
# Copyright 2009, 2010, 2012 Niels Horn, Rio de Janeiro, RJ, Brazil
-# Copyright 2014, 2015 Mario Preksavec, Zagreb, HR
+# Copyright 2014, 2015, 2016 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=rrdtool
-VERSION=${VERSION:-1.4.9}
+VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -113,6 +113,10 @@ sed -r -i 's|/usr/share/man|/usr/man|g' bindings/perl-shared/Makefile
make install DESTDIR=$PKG
+# Gah :-/
+mv $PKG/usr/share/man/man3/* $PKG/usr/man/man3/
+rmdir $PKG/usr/share/{man/man3,man}
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -132,8 +136,8 @@ find $PKG -perm 444 -exec chmod 0644 {} \;
find $PKG -perm 555 -exec chmod 0755 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES CONTRIBUTORS COPYING COPYRIGHT NEWS README THREADS TODO \
- WIN32-BUILD-TIPS.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGES CONTRIBUTORS COPYRIGHT LICENSE NEWS THREADS TODO \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install