42 lines
1.1 KiB
Text
42 lines
1.1 KiB
Text
# Template file for 'atf'
|
|
pkgname=atf
|
|
version=0.21
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool gdb"
|
|
depends="gdb xmlcatmgr"
|
|
xml_entries="system http://www.NetBSD.org/XML/atf/tests-results.dtd /usr/share/xml/atf/tests-results.dtd"
|
|
short_desc="Automated Testing Framework"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="https://github.com/jmmv/atf"
|
|
license="BSD"
|
|
distfiles="https://github.com/jmmv/atf/releases/download/atf-${version}/atf-${version}.tar.gz"
|
|
checksum=92bc64180135eea8fe84c91c9f894e678767764f6dbc8482021d4dde09857505
|
|
|
|
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
|
|
}
|
|
|
|
atf-devel_package() {
|
|
depends="atf-libs>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/aclocal
|
|
}
|
|
}
|
|
atf-libs_package() {
|
|
short_desc+=" - runtime libraries"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|