void-packages/srcpkgs/libssh2/template

30 lines
797 B
Bash

# Template file for 'libssh2'
pkgname=libssh2
version=1.6.0
revision=3
build_style=gnu-configure
configure_args="--with-libssl-prefix=${XBPS_CROSS_BASE}/usr"
makedepends="zlib-devel libressl-devel"
short_desc="Library implementing the SSH2 protocol"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="3-clause-BSD"
homepage="http://www.libssh2.org/"
distfiles="http://www.libssh2.org/download/$pkgname-$version.tar.gz"
checksum=5a202943a34a1d82a1c31f74094f2453c207bf9936093867f41414968c8e8215
post_install() {
vlicense COPYING LICENSE
}
libssh2-devel_package() {
depends="${makedepends} ${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
}
}