diff options
author | Niels Horn <niels.horn@gmail.com> | 2011-10-25 16:49:52 -0500 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-11-04 22:02:24 -0200 |
commit | 665a4ff20029fc6697190023773fdaae07a4c0be (patch) | |
tree | 724cd0d6704315685733c397b5726ddbd9580d35 /libraries/libssh/libssh.SlackBuild | |
parent | 8b361672944aa4f96912097c5184a8db1166ecf8 (diff) | |
download | slackbuilds-665a4ff20029fc6697190023773fdaae07a4c0be.tar.gz |
libraries/libssh: Updated for version 0.5.2, New maintainer.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'libraries/libssh/libssh.SlackBuild')
-rw-r--r-- | libraries/libssh/libssh.SlackBuild | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/libraries/libssh/libssh.SlackBuild b/libraries/libssh/libssh.SlackBuild index 27adde8ae7..15ba2bc638 100644 --- a/libraries/libssh/libssh.SlackBuild +++ b/libraries/libssh/libssh.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for libssh # Copyright 2009-2011 Larry Hajali <larryhaja[at]gmail[dot]com> +# Copyright 2011 Niels Horn, Rio de Janeiro, RJ, Brazil # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,8 +23,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# revision date: 2011/10/24 + PRGNAM=libssh -VERSION=0.5.1 +VERSION=${VERSION:-0.5.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -85,15 +88,24 @@ cd build -DCMAKE_BUILD_TYPE=Release .. make VERBOSE=1 + # We need to build the man-pages and documentation as well + make doc VERBOSE=1 make install DESTDIR=$PKG cd .. -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +# Manually install man-pages +mkdir -p $PKG/usr/man +cp -a build/doc/man/man3 $PKG/usr/man + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +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 \ - AUTHORS BSD ChangeLog COPYING INSTALL README \ + AUTHORS BSD ChangeLog COPYING INSTALL README build/doc/html build/doc/latex \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild |