void-packages/srcpkgs/rset/template

33 lines
880 B
Bash

# Template file for 'rset'
pkgname=rset
version=3.1
revision=1
build_style=gnu-makefile
make_build_args="-f Makefile.linux"
make_install_args="${make_build_args}"
checkdepends="ruby ruby-webrick wget"
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=25228ce805c2dc464fa7e5b26d2cffb5d7a4f37fdb2b7b7a3958a2aab6df1e1e
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
make_build_args="-f Makefile.linux-compat"
fi
post_patch() {
vsed -i -e 's/hostname -s/hostname/' tests/input/local_exec.pln
vsed -i -e "s/'r'/O_RDONLY/" tests/cmd_pipe_stdin.c
}
post_install() {
vlicense LICENSE
}
do_check() {
make -C tests -f Makefile.linux LD=${CC}
}