diff options
author | Jeroen Roovers <jer@gentoo.org> | 2013-05-21 17:22:34 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2013-05-21 17:22:34 +0000 |
commit | 16f42c34c546e2d58ffd70c43fde26ce09de48e4 (patch) | |
tree | ec9dd1d55fa2002322e6a574cef15250ee7c94f0 /dev-util/cunit | |
parent | sci-chemistry/pdbmat: Correct license to CeCILL-2, #470788 (diff) | |
download | gentoo-2-16f42c34c546e2d58ffd70c43fde26ce09de48e4.tar.gz gentoo-2-16f42c34c546e2d58ffd70c43fde26ce09de48e4.tar.bz2 gentoo-2-16f42c34c546e2d58ffd70c43fde26ce09de48e4.zip |
Version bump. Add ncurses support (bug #336901 by Tom Hendrikx). Add IUSE=static-libs (bug #460794).
(Portage version: 2.2.0_alpha176/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'dev-util/cunit')
-rw-r--r-- | dev-util/cunit/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/cunit/cunit-2.1_p2.ebuild | 43 |
2 files changed, 50 insertions, 1 deletions
diff --git a/dev-util/cunit/ChangeLog b/dev-util/cunit/ChangeLog index f0326406d1ad..e42eeaf89ab3 100644 --- a/dev-util/cunit/ChangeLog +++ b/dev-util/cunit/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-util/cunit # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cunit/ChangeLog,v 1.33 2013/05/02 03:52:26 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/cunit/ChangeLog,v 1.34 2013/05/21 17:22:34 jer Exp $ + +*cunit-2.1_p2 (21 May 2013) + + 21 May 2013; Jeroen Roovers <jer@gentoo.org> +cunit-2.1_p2.ebuild: + Version bump. Add ncurses support (bug #336901 by Tom Hendrikx). Add + IUSE=static-libs (bug #460794). 02 May 2013; Patrick Lauer <patrick@gentoo.org> cunit-2.1-r1.ebuild: Automake 1.13 fix diff --git a/dev-util/cunit/cunit-2.1_p2.ebuild b/dev-util/cunit/cunit-2.1_p2.ebuild new file mode 100644 index 000000000000..951cb1e1ebb8 --- /dev/null +++ b/dev-util/cunit/cunit-2.1_p2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/cunit/cunit-2.1_p2.ebuild,v 1.1 2013/05/21 17:22:34 jer Exp $ + +EAPI=5 +inherit autotools eutils flag-o-matic + +MY_PN='CUnit' +MY_PV="${PV/_p*}-2" +MY_P="${MY_PN}-${MY_PV}" + +DESCRIPTION="CUnit - C Unit Test Framework" +SRC_URI="mirror://sourceforge/cunit/${MY_P}-src.tar.bz2" +HOMEPAGE="http://cunit.sourceforge.net" + +SLOT="0" +LICENSE="LGPL-2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="ncurses static-libs" + +DEPEND="ncurses? ( sys-libs/ncurses )" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${MY_P} + +DOCS=( AUTHORS NEWS README ChangeLog ) + +src_prepare() { + sed -e "/^docdir/d" -i doc/Makefile.am || die + sed -e '/^dochdrdir/{s:$(prefix)/doc/@PACKAGE@:$(docdir):}' \ + -i doc/headers/Makefile.am || die + sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.in || die + eautoreconf + append-cppflags -D_BSD_SOURCE +} + +src_configure() { + econf \ + $(use_enable ncurses curses) \ + $(use_enable static-libs static) \ + --disable-debug \ + --docdir="${EPREFIX}"/usr/share/doc/${PF} +} |