2011-07-22 14:43:30 +00:00
|
|
|
# Template file for 'atf'
|
|
|
|
pkgname=atf
|
2013-02-16 13:22:28 +00:00
|
|
|
version=0.17
|
2012-07-11 10:44:35 +00:00
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-04-12 06:55:23 +00:00
|
|
|
makedepends="gdb xmlcatmgr"
|
2011-07-22 14:43:30 +00:00
|
|
|
short_desc="Automated Testing Framework"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
homepage="http://www.netbsd.org/~jmmv/atf/"
|
2012-03-07 09:02:38 +00:00
|
|
|
license="BSD"
|
2012-07-11 10:44:35 +00:00
|
|
|
distfiles="https://kyua.googlecode.com/files/atf-$version.tar.gz"
|
2013-02-16 13:22:28 +00:00
|
|
|
checksum=4458bc6d1ebbbaffd86cd71a426760ff4083eca87f388d9498cd1972ecf258cc
|
2011-07-22 14:43:30 +00:00
|
|
|
|
2013-02-16 13:22:28 +00:00
|
|
|
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
2013-04-06 23:47:54 +00:00
|
|
|
hostmakedepends="libtool automake"
|
2013-02-16 13:22:28 +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() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
fi
|
2013-04-12 06:55:23 +00:00
|
|
|
|
|
|
|
atf-devel_package() {
|
|
|
|
depends="atf-libs>=$version"
|
|
|
|
short_desc="${short_desc} - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/aclocal
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
atf-libs_package() {
|
|
|
|
short_desc="${short_desc} - runtime libraries"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
atf_package() {
|
|
|
|
depends="gdb xmlcatmgr"
|
|
|
|
xml_entries="system http://www.NetBSD.org/XML/atf/tests-results.dtd /usr/share/xml/atf/tests-results.dtd"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|