30 lines
802 B
Bash
30 lines
802 B
Bash
# Template file for 'libssh2'
|
|
pkgname=libssh2
|
|
version=1.8.2
|
|
revision=1
|
|
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="BSD-3-Clause"
|
|
homepage="http://www.libssh2.org/"
|
|
distfiles="http://www.libssh2.org/download/${pkgname}-${version}.tar.gz"
|
|
checksum=088307d9f6b6c4b8c13f34602e8ff65d21c2dc4d55284dfe15d502c4ee190d67
|
|
|
|
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
|
|
}
|
|
}
|