void-packages/srcpkgs/atf/template

43 lines
1.1 KiB
Text
Raw Normal View History

2011-07-22 14:43:30 +00:00
# Template file for 'atf'
pkgname=atf
2014-10-06 08:20:21 +00:00
version=0.20
revision=1
build_style=gnu-configure
2014-01-10 09:05:28 +00:00
hostmakedepends="automake libtool gdb"
2014-10-06 08:20:21 +00:00
depends="gdb xmlcatmgr"
xml_entries="system http://www.NetBSD.org/XML/atf/tests-results.dtd /usr/share/xml/atf/tests-results.dtd"
2011-07-22 14:43:30 +00:00
short_desc="Automated Testing Framework"
maintainer="Juan RP <xtraeme@gmail.com>"
2014-10-06 08:20:21 +00:00
homepage="https://github.com/jmmv/atf"
2012-03-07 09:02:38 +00:00
license="BSD"
2014-10-06 08:20:21 +00:00
distfiles="https://github.com/jmmv/atf/releases/download/atf-${version}/atf-${version}.tar.gz"
checksum=9bc4ab004603331301410c293394b7e8b7341e59a528a4b51e16effeb1142cd9
2011-07-22 14:43:30 +00:00
2013-11-17 17:21:35 +00:00
configure_args="kyua_cv_attribute_noreturn=yes
kyua_cv_getcwd_works=yes
kyua_cv_getopt_optreset=no
kyua_cv_getopt_plus=yes
kyua_cv_signal_lastno=31"
pre_configure() {
libtoolize -f
}
atf-devel_package() {
2013-11-17 17:21:35 +00:00
depends="atf-libs>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
2013-11-17 17:21:35 +00:00
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/aclocal
}
}
atf-libs_package() {
2013-11-17 17:21:35 +00:00
short_desc+=" - runtime libraries"
pkg_install() {
2013-11-17 17:21:35 +00:00
vmove "usr/lib/*.so.*"
}
}