# Template file for 'openradtool'
pkgname=openradtool
version=0.14.0
revision=1
build_style=configure
configure_args="PREFIX=/usr MANDIR=/usr/share/man"
make_cmd="bmake"
make_check_target="regress"
hostmakedepends="bmake pkg-config which"
makedepends="expat-devel"
checkdepends="kcgi ksql sqlite zlib-devel"
short_desc="Web application source generator"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="ISC"
homepage="https://kristaps.bsd.lv/openradtool/"
changelog="https://kristaps.bsd.lv/openradtool/archive.html"
distfiles="https://kristaps.bsd.lv/openradtool/snapshots/openradtool-${version}.tar.gz"
checksum=d44242e9e8e598053cb00e32584dd9f7b87bc73b76ed5f9de8469aabd98977c9

post_install() {
	sed -n '2,16p' main.c >LICENSE
	vlicense LICENSE
}
