atf: update to 0.18.
This commit is contained in:
parent
cf07fa3b6d
commit
6cd60fb610
|
@ -1,43 +1,43 @@
|
|||
# Template file for 'atf'
|
||||
pkgname=atf
|
||||
version=0.17
|
||||
version=0.18
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="libtool gdb"
|
||||
makedepends="gdb xmlcatmgr"
|
||||
short_desc="Automated Testing Framework"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.netbsd.org/~jmmv/atf/"
|
||||
homepage="http://code.google.com/p/kyua/wiki/ATF"
|
||||
license="BSD"
|
||||
distfiles="https://kyua.googlecode.com/files/atf-$version.tar.gz"
|
||||
checksum=4458bc6d1ebbbaffd86cd71a426760ff4083eca87f388d9498cd1972ecf258cc
|
||||
checksum=388a77995fc5b2e4e8728c3862348190ae51dab8dfa3663680bf1978cb7ff17b
|
||||
|
||||
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
||||
hostmakedepends="libtool automake"
|
||||
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
|
||||
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() {
|
||||
depends="atf-libs>=$version"
|
||||
short_desc="${short_desc} - development files"
|
||||
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="${short_desc} - runtime libraries"
|
||||
short_desc+=" - runtime libraries"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/*.so*"
|
||||
vmove "usr/lib/*.so.*"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -45,6 +45,6 @@ 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
|
||||
vmove all
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue