diff options
author | Justin Lecher <jlec@gentoo.org> | 2011-12-14 09:50:28 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2011-12-14 09:50:28 +0000 |
commit | 98613d05f9cf8a66d1d8d94826f6018420e70daf (patch) | |
tree | 33e8e8fc7a91df3a935ab448bc4d7727db8ec0cd /dev-cpp/tree | |
parent | Set EAPI=4 and elminate duplicate installation of montecristo example files. ... (diff) | |
download | gentoo-2-98613d05f9cf8a66d1d8d94826f6018420e70daf.tar.gz gentoo-2-98613d05f9cf8a66d1d8d94826f6018420e70daf.tar.bz2 gentoo-2-98613d05f9cf8a66d1d8d94826f6018420e70daf.zip |
Version Bump
(Portage version: 2.2.0_alpha80/cvs/Linux x86_64)
Diffstat (limited to 'dev-cpp/tree')
-rw-r--r-- | dev-cpp/tree/ChangeLog | 7 | ||||
-rw-r--r-- | dev-cpp/tree/tree-2.81.ebuild | 42 |
2 files changed, 48 insertions, 1 deletions
diff --git a/dev-cpp/tree/ChangeLog b/dev-cpp/tree/ChangeLog index 8cec29e7fef9..301eeff9e92a 100644 --- a/dev-cpp/tree/ChangeLog +++ b/dev-cpp/tree/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-cpp/tree # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/tree/ChangeLog,v 1.8 2011/04/08 13:43:01 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/tree/ChangeLog,v 1.9 2011/12/14 09:50:28 jlec Exp $ + +*tree-2.81 (14 Dec 2011) + + 14 Dec 2011; Justin Lecher <jlec@gentoo.org> +tree-2.81.ebuild: + Version Bump *tree-2.65-r1 (08 Apr 2011) diff --git a/dev-cpp/tree/tree-2.81.ebuild b/dev-cpp/tree/tree-2.81.ebuild new file mode 100644 index 000000000000..23520d26e138 --- /dev/null +++ b/dev-cpp/tree/tree-2.81.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/tree/tree-2.81.ebuild,v 1.1 2011/12/14 09:50:28 jlec Exp $ + +EAPI=4 + +inherit eutils toolchain-funcs + +DESCRIPTION="An STL-like tree class" +HOMEPAGE="http://www.aei.mpg.de/~peekas/tree/" +SRC_URI="http://www.aei.mpg.de/~peekas/tree/${P}.tar.gz" + +LICENSE="|| ( GPL-2 GPL-3 )" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="doc" + +S="${S}"/src + +src_prepare() { + rm Makefile || die + epatch "${FILESDIR}"/${PN}-2.62-test.patch +} + +src_test() { + local test + test="$(tc-getCXX) ${CXXFLAGS} ${LDAFLAGS} test_tree.cc -o test_tree" + + echo ${test} + eval ${test} || die "compile test failed" + ./test_tree > mytest.output || die "running test failed" + diff -Nu test_tree.output mytest.output || die "test dist failed" +} + +src_install() { + insinto /usr/include + doins tree.hh tree_util.hh + dodoc tree_example.cc + if use doc; then + dohtml "${WORKDIR}"/doc/* + fi +} |