# Template file for 'paexec'
pkgname=paexec
version=1.1.5
revision=1
hostmakedepends="mk-configure runawk perl"
makedepends="libmaa-devel"
depends="runawk"
short_desc="Distribute tasks over network or CPUs"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
homepage="https://sourceforge.net/projects/paexec/"
distfiles="${SOURCEFORGE_SITE}/paexec/paexec/paexec-${version}/paexec-${version}.tar.gz"
checksum=3fbd571c9fcf4e08413be32ec9b8088f34bb845aa27432dae1dbf92cc4124ef2
CFLAGS='-Wno-stringop-truncation'

do_build() {
	mkc_compiler_settings
	mkcmake ${makejobs} PREFIX=/usr
}
do_install() {
	mkcmake install MANDIR=/usr/share/man STRIPFLAG= \
		PREFIX=/usr DESTDIR="$DESTDIR"
	vlicense doc/LICENSE
}
