void-packages/srcpkgs/libssh/template
2018-06-17 20:50:43 -03:00

25 lines
772 B
Bash

# Template file for 'libssh'
pkgname=libssh
version=0.7.5
revision=4
build_style=cmake
configure_args="-DWITH_TESTING=ON"
hostmakedepends="pkg-config"
makedepends="zlib-devel libressl-devel cmocka-devel"
short_desc="Multiplatform C library implementing the SSH v2 protocol"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1-or-later"
homepage="https://www.libssh.org/"
distfiles="https://git.libssh.org/projects/libssh.git/snapshot/${pkgname}-${version}.tar.bz2"
checksum=ff914e2ec6596badec453efaa63ef68c82c60074466f951167a4c60e49903336
libssh-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
}
}