kyua: needs atf at run-time; split the testsuite into -tests.

This commit is contained in:
Juan RP 2014-08-15 08:05:07 +02:00
parent b6b9e991d9
commit 65a5257488
2 changed files with 10 additions and 1 deletions

1
srcpkgs/kyua-tests Symbolic link
View file

@ -0,0 +1 @@
kyua

View file

@ -1,7 +1,7 @@
# Template file for 'kyua'
pkgname=kyua
version=0.10
revision=1
revision=2
wrksrc="kyua-kyua-${version}"
build_style=gnu-configure
configure_args="
@ -11,6 +11,7 @@ configure_args="
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>"
@ -22,3 +23,10 @@ checksum=a0f2035c8d1f4ca3097e56ece16730d3fb7c00367bd709dc4eb5fd580308e2c5
pre_configure() {
autoreconf -fi
}
kyua-tests_package() {
short_desc+=" - testsuite"
pkg_install() {
vmove usr/tests
}
}