void-packages/srcpkgs/libssh/template
2013-06-16 21:05:10 +02:00

39 lines
907 B
Text

# Template file for 'libssh'
pkgname=libssh
version=0.5.4
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."
nofetch=yes
noextract=yes
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
}
}