2011-07-22 16:43:30 +02:00
|
|
|
# Template file for 'atf'
|
|
|
|
pkgname=atf
|
2014-10-23 22:55:32 +02:00
|
|
|
version=0.21
|
2014-10-06 10:20:21 +02:00
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2014-01-10 10:05:28 +01:00
|
|
|
hostmakedepends="automake libtool gdb"
|
2014-10-06 10:20:21 +02:00
|
|
|
depends="gdb xmlcatmgr"
|
2014-01-01 16:10:11 +01:00
|
|
|
xml_entries="system http://www.NetBSD.org/XML/atf/tests-results.dtd /usr/share/xml/atf/tests-results.dtd"
|
2011-07-22 16:43:30 +02:00
|
|
|
short_desc="Automated Testing Framework"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2014-10-06 10:20:21 +02:00
|
|
|
homepage="https://github.com/jmmv/atf"
|
2012-03-07 10:02:38 +01:00
|
|
|
license="BSD"
|
2014-10-06 10:20:21 +02:00
|
|
|
distfiles="https://github.com/jmmv/atf/releases/download/atf-${version}/atf-${version}.tar.gz"
|
2014-10-23 22:55:32 +02:00
|
|
|
checksum=92bc64180135eea8fe84c91c9f894e678767764f6dbc8482021d4dde09857505
|
2011-07-22 16:43:30 +02:00
|
|
|
|
2013-11-17 18:21:35 +01: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
|
|
|
|
}
|
2013-04-12 08:55:23 +02:00
|
|
|
|
|
|
|
atf-devel_package() {
|
2013-11-17 18:21:35 +01:00
|
|
|
depends="atf-libs>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
2013-04-12 08:55:23 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2013-11-17 18:21:35 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 08:55:23 +02:00
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/aclocal
|
|
|
|
}
|
|
|
|
}
|
|
|
|
atf-libs_package() {
|
2013-11-17 18:21:35 +01:00
|
|
|
short_desc+=" - runtime libraries"
|
2013-04-12 08:55:23 +02:00
|
|
|
pkg_install() {
|
2013-11-17 18:21:35 +01:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-12 08:55:23 +02:00
|
|
|
}
|
|
|
|
}
|