2013-06-16 21:03:48 +02:00
|
|
|
# Template file for 'libssh'
|
|
|
|
pkgname=libssh
|
2014-01-14 12:51:45 +01:00
|
|
|
version=0.6.0
|
2013-06-16 21:03:48 +02:00
|
|
|
revision=1
|
|
|
|
build_style=cmake
|
2013-06-16 21:05:10 +02:00
|
|
|
hostmakedepends="cmake"
|
2013-06-16 21:03:48 +02:00
|
|
|
makedepends="zlib-devel openssl-devel"
|
2014-01-14 12:51:45 +01:00
|
|
|
short_desc="Multiplatform C library implementing SSHv1 and SSHv2 protocols"
|
2013-06-16 21:03:48 +02: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
|
|
|
|
}
|
|
|
|
}
|