2012-05-17 18:17:16 +02:00
|
|
|
# Template file for 'libssh2'
|
|
|
|
pkgname=libssh2
|
2012-12-02 15:56:29 +01:00
|
|
|
version=1.4.3
|
2013-05-14 15:21:42 +02:00
|
|
|
revision=4
|
2012-05-17 18:17:16 +02:00
|
|
|
build_style=gnu-configure
|
2012-12-02 15:56:29 +01:00
|
|
|
configure_args="--disable-static"
|
2012-05-23 18:26:56 +02:00
|
|
|
makedepends="openssl-devel"
|
2012-05-17 18:17:16 +02:00
|
|
|
short_desc="library implementing the SSH2 protocol"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="BSD"
|
2012-12-02 15:56:29 +01:00
|
|
|
homepage="http://www.libssh2.org/"
|
|
|
|
distfiles="http://www.libssh2.org/download/$pkgname-$version.tar.gz"
|
2012-12-02 16:03:14 +01:00
|
|
|
checksum=eac6f85f9df9db2e6386906a6227eb2cd7b3245739561cad7d6dc1d5d021b96d
|
2012-05-17 18:17:16 +02:00
|
|
|
long_desc="
|
|
|
|
libssh2 is a client-side C library implementing the SSH2 protocol. It supports
|
|
|
|
regular terminal, SCP and SFTP sessions; port forwarding; password, key-based
|
|
|
|
and keyboard-interactive authentication."
|
2013-04-13 10:15:49 +02:00
|
|
|
|
2013-05-14 15:13:08 +02:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
configure_args+=" --with-libssl-prefix=$XBPS_CROSS_BASE"
|
|
|
|
fi
|
|
|
|
|
2013-04-13 10:15:49 +02:00
|
|
|
libssh2-devel_package() {
|
2013-05-14 15:21:42 +02:00
|
|
|
depends="openssl-devel ${sourcepkg}>=${version}"
|
2013-05-14 15:13:08 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libssh2_package() {
|
|
|
|
pkg_install() {
|
2013-05-14 15:13:08 +02:00
|
|
|
vmove all
|
2013-04-13 10:15:49 +02:00
|
|
|
}
|
|
|
|
}
|