void-packages/srcpkgs/libssh/template
2013-10-05 04:52:47 +02:00

37 lines
881 B
Text

# Template file for 'libssh'
pkgname=libssh
version=0.5.5
revision=1
build_style=cmake
hostmakedepends="cmake"
makedepends="zlib-devel openssl-devel"
short_desc="The SSH library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://www.libssh.org/"
long_desc="
libssh is a mulitplatform C library implementing the SSHv2 and SSHv1 protocol
on client and server side. With libssh, you can remotely execute programs,
transfer files, use a secure and transparent tunnel for your remote applications."
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
}
}
libssh_package() {
pkg_install() {
vmove all
}
}