diff options
-rw-r--r-- | dev-libs/check/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/check/check-0.9.8-r1.ebuild | 46 | ||||
-rw-r--r-- | dev-libs/check/metadata.xml | 3 |
3 files changed, 58 insertions, 1 deletions
diff --git a/dev-libs/check/ChangeLog b/dev-libs/check/ChangeLog index f241257d3e8e..b6360b41f7dd 100644 --- a/dev-libs/check/ChangeLog +++ b/dev-libs/check/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-libs/check # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/check/ChangeLog,v 1.67 2011/09/13 22:47:21 binki Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/check/ChangeLog,v 1.68 2011/09/29 12:39:53 binki Exp $ + +*check-0.9.8-r1 (29 Sep 2011) + + 29 Sep 2011; Nathan Phillip Brink <binki@gentoo.org> +check-0.9.8-r1.ebuild, + metadata.xml: + In a revbump, add subunit useflag to fix bug 354091 by flameeyes, bump to + EAPI=4, and move to using autotools-utils eclass (adding static-libs + useflag). 13 Sep 2011; Nathan Phillip Brink <binki@gentoo.org> metadata.xml: Set myself (binki) as maintainer. diff --git a/dev-libs/check/check-0.9.8-r1.ebuild b/dev-libs/check/check-0.9.8-r1.ebuild new file mode 100644 index 000000000000..78c94662c61a --- /dev/null +++ b/dev-libs/check/check-0.9.8-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/check/check-0.9.8-r1.ebuild,v 1.1 2011/09/29 12:39:53 binki Exp $ + +EAPI=4 +inherit autotools autotools-utils eutils + +DESCRIPTION="A unit test framework for C" +HOMEPAGE="http://sourceforge.net/projects/check/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="static-libs subunit" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-0.9.6-AM_PATH_CHECK.patch \ + "${FILESDIR}"/${PN}-0.9.6-64bitsafe.patch + + sed -i -e '/^docdir =/d' {.,doc}/Makefile.am || die + + # fix out-of-sourcedir build having inconsistent check.h files, for + # example breaks USE=subunit. + rm src/check.h || die + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-dependency-tracking + $(use_enable subunit) + --docdir=/usr/share/doc/${PF} + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + dodoc AUTHORS *ChangeLog* NEWS README THANKS TODO + + rm -f "${D}"/usr/share/doc/${PF}/COPYING* || die + find "${D}" -name '*.la' -exec rm -f {} + || die +} diff --git a/dev-libs/check/metadata.xml b/dev-libs/check/metadata.xml index 786aa0da87df..a0468c037d39 100644 --- a/dev-libs/check/metadata.xml +++ b/dev-libs/check/metadata.xml @@ -5,4 +5,7 @@ <email>binki@gentoo.org</email> <name>Nathan Phillip Brink</name> </maintainer> + <use> + <flag name="subunit">Enable support for the subunit unit test protocol</flag> + </use> </pkgmetadata> |