diff --git a/srcpkgs/libssh2/template b/srcpkgs/libssh2/template index 4e0b1effea6..eb676ddec69 100644 --- a/srcpkgs/libssh2/template +++ b/srcpkgs/libssh2/template @@ -1,7 +1,7 @@ # Template file for 'libssh2' pkgname=libssh2 version=1.4.3 -revision=2 +revision=3 build_style=gnu-configure configure_args="--disable-static" makedepends="openssl-devel" @@ -16,9 +16,13 @@ long_desc=" 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="${sourcepkg}>=${version}" - short_desc="${short_desc} -- development files" + short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig @@ -28,6 +32,6 @@ libssh2-devel_package() { libssh2_package() { pkg_install() { - vmove usr + vmove all } }