void-packages/srcpkgs/libssh2/template
2019-06-26 11:26:52 +02:00

29 lines
802 B
Bash

# Template file for 'libssh2'
pkgname=libssh2
version=1.9.0
revision=1
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.org>"
license="BSD-3-Clause"
homepage="http://www.libssh2.org/"
distfiles="http://www.libssh2.org/download/${pkgname}-${version}.tar.gz"
checksum=d5fb8bd563305fd1074dda90bd053fb2d29fc4bce048d182f96eaa466dfadafd
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
}
}