c7eb2ed08d
Also enable UNIT_TESTING: 100% tests passed, 0 tests failed out of 24 Total Test time (real) = 16.15 sec
29 lines
860 B
Bash
29 lines
860 B
Bash
# Template file for 'libssh'
|
|
pkgname=libssh
|
|
version=0.8.3
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DUNIT_TESTING=ON"
|
|
hostmakedepends="pkg-config python3"
|
|
makedepends="zlib-devel libressl-devel cmocka-devel"
|
|
short_desc="Multiplatform C library implementing the SSH v2 protocol"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://www.libssh.org/"
|
|
distfiles="https://git.libssh.org/projects/libssh.git/snapshot/${pkgname}-${version}.tar.bz2"
|
|
checksum=a26886f725f75a9b0a38eb32f3b4778a8d153cfafc530bfa8322909074343c76
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) configure_args="-DHAVE_GLOB=0" ;;
|
|
esac
|
|
|
|
libssh-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/cmake
|
|
}
|
|
}
|