# Template file for 'kyua'
pkgname=kyua
version=0.10
revision=2
wrksrc="kyua-kyua-${version}"
build_style=gnu-configure
configure_args="
 kyua_cv_attribute_noreturn=yes kyua_cv_lchmod_works=no
 kyua_cv_getopt_gnu=yes kyua_cv_getopt_optind_reset_value=0
 kyua_cv_signals_lastno=31 kyua_cv_getcwd_null_0_works=yes
 ac_cv_path_GDB=/usr/bin/gdb ac_cv_path_UMOUNT=/usr/bin/umount"
hostmakedepends="pkg-config automake libtool atf-devel doxygen"
makedepends="atf-devel>=0.16 lutok-devel>=0.4 sqlite-devel"
depends="atf"
replaces="kyua-cli>=0 kyua-testers>=0"
short_desc="Kyua (automated testing framework) - Command line interface"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Modified BSD"
homepage="http://code.google.com/p/kyua"
distfiles="https://github.com/jmmv/kyua/archive/kyua-${version}.tar.gz"
checksum=a0f2035c8d1f4ca3097e56ece16730d3fb7c00367bd709dc4eb5fd580308e2c5

pre_configure() {
	autoreconf -fi
}

kyua-tests_package() {
	short_desc+=" - testsuite"
	pkg_install() {
		vmove usr/tests
	}
}
