2025-07-14 11:40:47 +02:00

40 lines
892 B
Plaintext

# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=wsmancli
pkgver=2.8.0
pkgrel=0
pkgdesc="Openwsman command line client"
url="https://openwsman.github.io/"
arch="all"
license="custom BSD-3-Clause"
makedepends="libtool autoconf automake cunit-dev openwsman-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/Openwsman/$pkgname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
default_prepare
cd "$builddir"
./bootstrap
}
build() {
cd "$builddir"
./configure --prefix=/usr
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="
61f1fa57ba8106c8e9b0d96296e99e1dc04eb3a2468630aa73c594e6403bfed3cc0946bc4fd633176fda50eeb24a1c3d2cec9697b11d9b5c6a4016eef050b86c wsmancli-2.8.0.tar.gz
"