2012-05-17 16:17:16 +00:00
|
|
|
# Template file for 'libssh2'
|
|
|
|
pkgname=libssh2
|
2012-12-02 14:56:29 +00:00
|
|
|
version=1.4.3
|
2014-02-21 09:49:59 +00:00
|
|
|
revision=5
|
2012-05-17 16:17:16 +00:00
|
|
|
build_style=gnu-configure
|
2014-02-21 09:49:59 +00:00
|
|
|
configure_args="--disable-static --with-libssl-prefix=${XBPS_CROSS_BASE}/usr"
|
2012-05-23 16:26:56 +00:00
|
|
|
makedepends="openssl-devel"
|
2014-02-21 09:49:59 +00:00
|
|
|
short_desc="Library implementing the SSH2 protocol"
|
2012-05-17 16:17:16 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="BSD"
|
2012-12-02 14:56:29 +00:00
|
|
|
homepage="http://www.libssh2.org/"
|
|
|
|
distfiles="http://www.libssh2.org/download/$pkgname-$version.tar.gz"
|
2012-12-02 15:03:14 +00:00
|
|
|
checksum=eac6f85f9df9db2e6386906a6227eb2cd7b3245739561cad7d6dc1d5d021b96d
|
2013-05-14 13:13:08 +00:00
|
|
|
|
2013-04-13 08:15:49 +00:00
|
|
|
libssh2-devel_package() {
|
2014-02-21 09:49:59 +00:00
|
|
|
depends="openssl-devel ${sourcepkg}>=${version}_${revision}"
|
2013-05-14 13:13:08 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 08:15:49 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-21 09:49:59 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|