1 |
commit: f9e0eec8c9ffce1f1686b67e4d16bcb1724c13e2 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 10 07:46:26 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 10 07:47:06 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9e0eec8 |
7 |
|
8 |
dev-cpp/tree: add 3.17, update homepage |
9 |
|
10 |
Closes: https://bugs.gentoo.org/684472 |
11 |
Package-Manager: Portage-3.0.19, Repoman-3.0.3 |
12 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
13 |
|
14 |
dev-cpp/tree/Manifest | 1 + |
15 |
dev-cpp/tree/tree-3.17.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 40 insertions(+) |
17 |
|
18 |
diff --git a/dev-cpp/tree/Manifest b/dev-cpp/tree/Manifest |
19 |
index c6030dad749..1cf54214441 100644 |
20 |
--- a/dev-cpp/tree/Manifest |
21 |
+++ b/dev-cpp/tree/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST tree-2.81.tar.gz 1167128 BLAKE2B ea92724b16fc7ea8a5f0036f5a7a57d000d66b332b4ba46139463f707f95922f38b1d4d56a6d2fca0a3c4ece8f11e28bbf4aa6bec5c5a7bc59ccaa36a01413d6 SHA512 85e910fdb19ffd03ae79302a95ebffdb44725fd9f291a61d6912f743b54fe9b3d1c863e00c7e75d238f428946809e42c7ae6379b1051688fb06ee6c6d761d294 |
24 |
+DIST tree-3.17.tar.gz 1178425 BLAKE2B f59239b861c0495c48036d0fffa49370d4cd78a94bfc35348bbbe0232a3c1221293a23366a6289429adabcb00b21292288ce085fa54f74dc204537c95c5b7c37 SHA512 af11f693c13dd37dddf016751c0f975c21d7a5ad405879e18fbe5387400ee1fcfb42942ee8888efffcb0c985d7875f2698591139aeb18b4809e83e225a743112 |
25 |
|
26 |
diff --git a/dev-cpp/tree/tree-3.17.ebuild b/dev-cpp/tree/tree-3.17.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..a07ad494486 |
29 |
--- /dev/null |
30 |
+++ b/dev-cpp/tree/tree-3.17.ebuild |
31 |
@@ -0,0 +1,39 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=7 |
36 |
+ |
37 |
+DOCS_BUILDER="doxygen" |
38 |
+DOCS_CONFIG_NAME="doxygen_tree.config" |
39 |
+DOCS_DIR="doc" |
40 |
+ |
41 |
+inherit docs toolchain-funcs |
42 |
+ |
43 |
+DESCRIPTION="An STL-like tree class" |
44 |
+HOMEPAGE="https://github.com/kpeeters/tree.hh" |
45 |
+SRC_URI="https://github.com/kpeeters/tree.hh/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" |
46 |
+S="${WORKDIR}/${PN}.hh-${PV}" |
47 |
+ |
48 |
+LICENSE="|| ( GPL-2 GPL-3 )" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" |
51 |
+ |
52 |
+src_configure() { |
53 |
+ tc-export CXX |
54 |
+} |
55 |
+ |
56 |
+src_compile() { |
57 |
+ docs_compile |
58 |
+} |
59 |
+ |
60 |
+src_test() { |
61 |
+ cd src || die |
62 |
+ emake |
63 |
+ emake run_tests |
64 |
+} |
65 |
+ |
66 |
+src_install() { |
67 |
+ doheader src/tree.hh src/tree_util.hh |
68 |
+ dodoc -r examples |
69 |
+ einstalldocs |
70 |
+} |