void-packages/srcpkgs/libssh/template

27 lines
627 B
Text
Raw Normal View History

2013-06-16 19:03:48 +00:00
# Template file for 'libssh'
pkgname=libssh
2014-03-14 15:51:41 +00:00
version=0.6.3
2014-07-14 12:37:08 +00:00
revision=2
2013-06-16 19:03:48 +00:00
build_style=cmake
hostmakedepends="cmake git"
2014-07-14 12:37:08 +00:00
makedepends="zlib-devel libressl-devel"
2014-01-14 11:51:45 +00:00
short_desc="Multiplatform C library implementing SSHv1 and SSHv2 protocols"
2013-06-16 19:03:48 +00:00
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
}
}