void-packages/srcpkgs/libssh/template

27 lines
622 B
Text
Raw Normal View History

2013-06-16 19:03:48 +00:00
# Template file for 'libssh'
pkgname=libssh
2014-01-14 11:51:45 +00:00
version=0.6.0
2013-06-16 19:03:48 +00:00
revision=1
build_style=cmake
2013-06-16 19:05:10 +00:00
hostmakedepends="cmake"
2013-06-16 19:03:48 +00:00
makedepends="zlib-devel openssl-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
}
}