void-packages/srcpkgs/libssh2/template

30 lines
784 B
Plaintext

# Template file for 'libssh2'
pkgname=libssh2
version=1.4.3
revision=7
build_style=gnu-configure
configure_args="--with-libssl-prefix=${XBPS_CROSS_BASE}/usr"
makedepends="libressl-devel"
short_desc="Library implementing the SSH2 protocol"
maintainer="Juan RP <xtraeme@gmail.com>"
license="3-clause-BSD"
homepage="http://www.libssh2.org/"
distfiles="http://www.libssh2.org/download/$pkgname-$version.tar.gz"
checksum=eac6f85f9df9db2e6386906a6227eb2cd7b3245739561cad7d6dc1d5d021b96d
post_install() {
vlicense COPYING LICENSE
}
libssh2-devel_package() {
depends="libressl-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share
}
}