libssh2: switch to libressl.

This commit is contained in:
Juan RP 2014-07-14 14:38:07 +02:00
parent 0bd5b23491
commit 1e2b5846b5

View file

@ -1,10 +1,10 @@
# Template file for 'libssh2' # Template file for 'libssh2'
pkgname=libssh2 pkgname=libssh2
version=1.4.3 version=1.4.3
revision=5 revision=6
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-static --with-libssl-prefix=${XBPS_CROSS_BASE}/usr" configure_args="--with-libssl-prefix=${XBPS_CROSS_BASE}/usr"
makedepends="openssl-devel" makedepends="libressl-devel"
short_desc="Library implementing the SSH2 protocol" short_desc="Library implementing the SSH2 protocol"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD" license="BSD"
@ -13,11 +13,12 @@ distfiles="http://www.libssh2.org/download/$pkgname-$version.tar.gz"
checksum=eac6f85f9df9db2e6386906a6227eb2cd7b3245739561cad7d6dc1d5d021b96d checksum=eac6f85f9df9db2e6386906a6227eb2cd7b3245739561cad7d6dc1d5d021b96d
libssh2-devel_package() { libssh2-devel_package() {
depends="openssl-devel ${sourcepkg}>=${version}_${revision}" depends="libressl-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove usr/include vmove usr/include
vmove usr/lib/pkgconfig vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so" vmove "usr/lib/*.so"
vmove usr/share vmove usr/share
} }