summaryrefslogtreecommitdiff
path: root/libraries/libssh
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2011-10-25 16:49:52 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2011-11-04 22:02:24 -0200
commit665a4ff20029fc6697190023773fdaae07a4c0be (patch)
tree724cd0d6704315685733c397b5726ddbd9580d35 /libraries/libssh
parent8b361672944aa4f96912097c5184a8db1166ecf8 (diff)
downloadslackbuilds-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')
-rw-r--r--libraries/libssh/libssh.SlackBuild18
-rw-r--r--libraries/libssh/libssh.info12
2 files changed, 21 insertions, 9 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
diff --git a/libraries/libssh/libssh.info b/libraries/libssh/libssh.info
index a433d64536..dc5da89a3d 100644
--- a/libraries/libssh/libssh.info
+++ b/libraries/libssh/libssh.info
@@ -1,10 +1,10 @@
PRGNAM="libssh"
-VERSION="0.5.1"
+VERSION="0.5.2"
HOMEPAGE="http://www.libssh.org/"
-DOWNLOAD="http://www.libssh.org/files/0.5/libssh-0.5.1.tar.gz"
-MD5SUM="0cd8bc9336398e23a76f4e25c1412eb4"
+DOWNLOAD="http://www.libssh.org/files/0.5/libssh-0.5.2.tar.gz"
+MD5SUM="38b67c48af7a9204660a3e08f97ceba6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-MAINTAINER="Larry Hajali"
-EMAIL="larryhaja[at]gmail[dot]com"
-APPROVED="rworkman"
+MAINTAINER="Niels Horn"
+EMAIL="niels.horn@gmail.com"
+APPROVED="Erik Hanson"