void-packages/srcpkgs/libssh/template
2015-09-17 07:25:08 +02:00

24 lines
719 B
Bash

# Template file for 'libssh'
pkgname=libssh
version=0.7.2
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=b7a66d5668cbf1bac7a3b8a221de9306e1cfc9b13d9ec271325e5f6d30872349
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
}
}