void-packages/srcpkgs/libssh/template
2017-02-12 08:30:09 +01:00

24 lines
713 B
Bash

# Template file for 'libssh'
pkgname=libssh
version=0.7.4
revision=1
build_style=cmake
hostmakedepends="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=4c8bc918b350a3b350d83a6e4d10db5b836f76765139fd54bdf09f358ac24cc2
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
}
}