29 lines
798 B
Bash
29 lines
798 B
Bash
# Template file for 'libssh2'
|
|
pkgname=libssh2
|
|
version=1.8.0
|
|
revision=5
|
|
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.org>"
|
|
license="3-clause-BSD"
|
|
homepage="http://www.libssh2.org/"
|
|
distfiles="http://www.libssh2.org/download/$pkgname-$version.tar.gz"
|
|
checksum=39f34e2f6835f4b992cafe8625073a88e5a28ba78f83e8099610a7b3af4676d4
|
|
|
|
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
|
|
}
|
|
}
|