1 # Maintainer: 458italia <svenskaparadox@gmail.com>
2 # Contributor: vti <viacheslav.t AT gmail.com>
6 pkgdesc="Library for accessing ssh client services through C libraries"
9 depends=('openssl' 'zlib')
10 makedepends=('cmake' 'git')
12 url="http://www.libssh.org/"
14 _gitroot='git://git.libssh.org/projects/libssh.git'
20 msg "Connecting to git.libssh.org GIT server...."
22 if [ -d $startdir/src/$_gitname ] ; then
23 cd $_gitname && git pull origin
24 msg "The local files are updated."
30 #git apply $startdir/channel-wait-eof.patch
36 # Generate Makefile, compile, and install
37 cmake -DCMAKE_INSTALL_PREFIX=$pkgdir/usr \
38 -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
43 -DWITH_STATIC_LIB=ON .. || return 1
45 make install || return 1