diff --git a/srcpkgs/libssh2/template b/srcpkgs/libssh2/template index bc756403c2..dbb268fe40 100644 --- a/srcpkgs/libssh2/template +++ b/srcpkgs/libssh2/template @@ -1,31 +1,24 @@ # Template file for 'libssh2' pkgname=libssh2 version=1.4.3 -revision=4 +revision=5 build_style=gnu-configure -configure_args="--disable-static" +configure_args="--disable-static --with-libssl-prefix=${XBPS_CROSS_BASE}/usr" makedepends="openssl-devel" -short_desc="library implementing the SSH2 protocol" +short_desc="Library implementing the SSH2 protocol" maintainer="Juan RP " license="BSD" homepage="http://www.libssh2.org/" distfiles="http://www.libssh2.org/download/$pkgname-$version.tar.gz" checksum=eac6f85f9df9db2e6386906a6227eb2cd7b3245739561cad7d6dc1d5d021b96d -long_desc=" - libssh2 is a client-side C library implementing the SSH2 protocol. It supports - regular terminal, SCP and SFTP sessions; port forwarding; password, key-based - and keyboard-interactive authentication." - -if [ "$CROSS_BUILD" ]; then - configure_args+=" --with-libssl-prefix=$XBPS_CROSS_BASE" -fi libssh2-devel_package() { - depends="openssl-devel ${sourcepkg}>=${version}" + depends="openssl-devel ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" vmove usr/share } }