# Template file for 'rset'
pkgname=rset
version=3.4
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=a1ea9f3dc314d8e606b9780d28b814ae002a16ef3a8909fb13d36b8b4cd72a0d

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}
}
