summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2009-06-26 22:16:43 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2009-06-26 22:16:43 +0000
commit1f5a43da5b5d1487ede1993a67496d33f5de8d11 (patch)
tree13c3596b875204e2d700f259f71b5008dc1eb157 /dev-cpp/tree
parentFix PyQt4 use deps ( bug 272150 ) (diff)
downloadgentoo-2-1f5a43da5b5d1487ede1993a67496d33f5de8d11.tar.gz
gentoo-2-1f5a43da5b5d1487ede1993a67496d33f5de8d11.tar.bz2
gentoo-2-1f5a43da5b5d1487ede1993a67496d33f5de8d11.zip
Version bump
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'dev-cpp/tree')
-rw-r--r--dev-cpp/tree/ChangeLog7
-rw-r--r--dev-cpp/tree/tree-2.65.ebuild40
2 files changed, 46 insertions, 1 deletions
diff --git a/dev-cpp/tree/ChangeLog b/dev-cpp/tree/ChangeLog
index 9cdb0819fbcd..3dfad3aaf224 100644
--- a/dev-cpp/tree/ChangeLog
+++ b/dev-cpp/tree/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-cpp/tree
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/tree/ChangeLog,v 1.2 2009/04/15 18:20:05 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/tree/ChangeLog,v 1.3 2009/06/26 22:16:43 bicatali Exp $
+
+*tree-2.65 (26 Jun 2009)
+
+ 26 Jun 2009; Sébastien Fabbro <bicatali@gentoo.org> +tree-2.65.ebuild:
+ Version bump
15 Apr 2009; Sébastien Fabbro <bicatali@gentoo.org>
+files/tree-2.62-test.patch, tree-2.62.ebuild:
diff --git a/dev-cpp/tree/tree-2.65.ebuild b/dev-cpp/tree/tree-2.65.ebuild
new file mode 100644
index 000000000000..08af09539928
--- /dev/null
+++ b/dev-cpp/tree/tree-2.65.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/tree/tree-2.65.ebuild,v 1.1 2009/06/26 22:16:43 bicatali Exp $
+
+EAPI=2
+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 ~x86"
+IUSE="doc"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ # test was buggy, reported upstream
+ epatch "${FILESDIR}"/${PN}-2.62-test.patch
+}
+
+src_test() {
+ $(tc-getCXX) ${CXXFLAGS} test_tree.cc -o test_tree \
+ || 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 || die
+ insinto /usr/share/doc/${PF}
+ doins tree_example.cc || die
+ if use doc; then
+ doins tree.pdf || die
+ fi
+}