30 lines
797 B
Bash
30 lines
797 B
Bash
# Template file for 'libssh2'
|
|
pkgname=libssh2
|
|
version=1.7.0
|
|
revision=3
|
|
build_style=gnu-configure
|
|
configure_args="--with-libssl-prefix=${XBPS_CROSS_BASE}/usr"
|
|
makedepends="zlib-devel libressl-devel"
|
|
short_desc="Library implementing the SSH2 protocol"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="3-clause-BSD"
|
|
homepage="http://www.libssh2.org/"
|
|
distfiles="http://www.libssh2.org/download/$pkgname-$version.tar.gz"
|
|
checksum=e4561fd43a50539a8c2ceb37841691baf03ecb7daf043766da1b112e4280d584
|
|
|
|
post_install() {
|
|
vlicense COPYING LICENSE
|
|
}
|
|
|
|
libssh2-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/share
|
|
}
|
|
}
|