# Template file for 'rset'
pkgname=rset
version=3.2
revision=1
build_style=gnu-makefile
make_build_args="-f Makefile.linux"
make_install_args="${make_build_args}"
depends="curl"
checkdepends="ruby ruby-webrick ${depends}"
short_desc="Remote Staging Execution Tool"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="ISC"
homepage="https://scriptedconfiguration.org/"
changelog="https://github.com/eradman/rset/blob/master/NEWS"
distfiles="https://scriptedconfiguration.org/code/rset-${version}.tar.gz"
checksum=a91fae268e71b08f307626130fb777be1c0c285f1221163034c2ea31d9bd3c02

if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
	make_build_args="-f Makefile.linux-compat"
fi

post_install() {
	vlicense LICENSE
}

do_check() {
	make -C tests -f Makefile.linux LD=${CC}
}
