void-packages/srcpkgs/libssh2/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

29 lines
794 B
Bash

# Template file for 'libssh2'
pkgname=libssh2
version=1.5.0
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@gmail.com>"
license="3-clause-BSD"
homepage="http://www.libssh2.org/"
distfiles="http://www.libssh2.org/download/$pkgname-$version.tar.gz"
checksum=83196badd6868f5b926bdac8017a6f90fb8a90b16652d3bf02df0330d573d0fc
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
}
}