void-packages/srcpkgs/libssh/template
Michael Gehring 2de432018a libssh: security update to 0.7.3.
Fixes CVE-2016-0739
2016-02-23 16:36:12 +01:00

24 lines
719 B
Bash

# Template file for 'libssh'
pkgname=libssh
version=0.7.3
revision=1
build_style=cmake
hostmakedepends="cmake pkg-config"
makedepends="zlib-devel libressl-devel"
short_desc="Multiplatform C library implementing the SSH v2 protocol"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://www.libssh.org/"
distfiles="http://git.libssh.org/projects/libssh.git/snapshot/${pkgname}-${version}.tar.bz2"
checksum=5a3de53b77235bb2984c73c12dd7c6558ccfbf91e8ef77e2fad233a4b0d64d7d
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
}
}