void-packages/srcpkgs/libssh/template

27 lines
623 B
Plaintext

# Template file for 'libssh'
pkgname=libssh
version=0.6.3
revision=2
build_style=cmake
hostmakedepends="cmake"
makedepends="zlib-devel libressl-devel"
short_desc="Multiplatform C library implementing SSHv1 and SSHv2 protocols"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://www.libssh.org/"
do_fetch() {
git clone -b${pkgname}-${version} \
git://git.libssh.org/projects/libssh.git ${pkgname}-${version}
}
libssh-devel_package() {
depends="${sourcepkg}>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}