2012-05-17 16:17:16 +00:00
|
|
|
# Template file for 'libssh2'
|
|
|
|
pkgname=libssh2
|
2015-06-13 06:45:55 +00:00
|
|
|
version=1.6.0
|
2015-03-11 07:31:06 +00:00
|
|
|
revision=1
|
2012-05-17 16:17:16 +00:00
|
|
|
build_style=gnu-configure
|
2014-07-14 12:38:07 +00:00
|
|
|
configure_args="--with-libssl-prefix=${XBPS_CROSS_BASE}/usr"
|
2015-03-27 09:50:40 +00:00
|
|
|
makedepends="zlib-devel libressl-devel"
|
2014-02-21 09:49:59 +00:00
|
|
|
short_desc="Library implementing the SSH2 protocol"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2015-02-24 09:23:46 +00:00
|
|
|
license="3-clause-BSD"
|
2012-12-02 14:56:29 +00:00
|
|
|
homepage="http://www.libssh2.org/"
|
|
|
|
distfiles="http://www.libssh2.org/download/$pkgname-$version.tar.gz"
|
2015-06-13 06:45:55 +00:00
|
|
|
checksum=5a202943a34a1d82a1c31f74094f2453c207bf9936093867f41414968c8e8215
|
2013-05-14 13:13:08 +00:00
|
|
|
|
2015-02-24 09:23:46 +00:00
|
|
|
post_install() {
|
|
|
|
vlicense COPYING LICENSE
|
|
|
|
}
|
|
|
|
|
2013-04-13 08:15:49 +00:00
|
|
|
libssh2-devel_package() {
|
2015-03-11 07:31:06 +00:00
|
|
|
depends="${makedepends} ${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-07-14 12:38:07 +00:00
|
|
|
vmove "usr/lib/*.a"
|
2014-02-21 09:49:59 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-13 08:15:49 +00:00
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|