void-packages/srcpkgs/kyua/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

32 lines
984 B
Bash

# Template file for 'kyua'
pkgname=kyua
version=0.11
revision=1
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_dyn=yes
ac_cv_path_GDB=/usr/bin/gdb ac_cv_path_UMOUNT=/usr/bin/umount"
hostmakedepends="pkg-config automake libtool atf-devel"
makedepends="atf-devel lutok-devel sqlite-devel"
depends="atf>=0.21"
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=55a2e1c5ab28748392cfed3b2783ed381ffe2d0247bca9a9ac19ae94fe029172
pre_configure() {
autoreconf -fi
}
kyua-tests_package() {
short_desc+=" - testsuite"
pkg_install() {
vmove usr/tests
}
}