void-packages/srcpkgs/libssh/template

40 lines
907 B
Text
Raw Normal View History

2013-06-16 19:03:48 +00:00
# Template file for 'libssh'
pkgname=libssh
version=0.5.4
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"
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
}
}