summaryrefslogtreecommitdiff
path: root/dev-cpp/tree
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-22 13:00:52 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-22 13:00:52 +0000
commita9715695537fe2582eaabd4a0d2cbe2322c01735 (patch)
tree4bca37e741d83c1d0ef189c2b3a1206301a8a0a4 /dev-cpp/tree
parent267b3b848468a603048b181330ee73cf0bd99c44 (diff)
gentoo auto-resync : 22:03:2024 - 13:00:51
Diffstat (limited to 'dev-cpp/tree')
-rw-r--r--dev-cpp/tree/Manifest4
-rw-r--r--dev-cpp/tree/metadata.xml3
-rw-r--r--dev-cpp/tree/tree-3.18.ebuild39
3 files changed, 45 insertions, 1 deletions
diff --git a/dev-cpp/tree/Manifest b/dev-cpp/tree/Manifest
index 9be9423dfbcb..ba11c9366c96 100644
--- a/dev-cpp/tree/Manifest
+++ b/dev-cpp/tree/Manifest
@@ -1,3 +1,5 @@
DIST tree-3.17.tar.gz 1178425 BLAKE2B f59239b861c0495c48036d0fffa49370d4cd78a94bfc35348bbbe0232a3c1221293a23366a6289429adabcb00b21292288ce085fa54f74dc204537c95c5b7c37 SHA512 af11f693c13dd37dddf016751c0f975c21d7a5ad405879e18fbe5387400ee1fcfb42942ee8888efffcb0c985d7875f2698591139aeb18b4809e83e225a743112
+DIST tree-3.18.tar.gz 1179107 BLAKE2B d05f90c58e203800a7482d0d7b36625dc32e9d3321a65f80fda380d2d7c214be1f47bc01d9f20fe2e287eeafdebe4180940ba7dbc7f78c12072193cbb95c2df1 SHA512 df9047fcd92ac5137af47dd03582fa1ba87651f112a91a1d61eecf3916af1a2130e1841e954af9b6eeb167da33c9e50c2662ecdcc5317e67173ba50f77afeae0
EBUILD tree-3.17.ebuild 743 BLAKE2B ee1f494c9b7a0b29c220135e3304e638e45e820718967582814de04e66626ec8dbb6c132fb4e739c4b7cdc49f89f9398da9516fa3900ec8bedeb5a3cc3491c08 SHA512 4d45fa7d72cf2aba431d8fb4560dbae9608b0f6152433c2844af683b767495bbcec666b11bb967b48ce178ed2f28bf11cba2d4699fe31f8dd30b1ae4f67d1a9b
-MISC metadata.xml 620 BLAKE2B 30c1a3c6c5416691c41fa2d587d80e76e72a7c349cc7e57afc723caddb6874cb849cf0db5943a12373253383845b649b522bc1abce65d036fc4757120b3524cc SHA512 ec64c3f8832072c5bac618a3990c6b488be2b6da98514d6ca508c620817c9c7ad40479c96168c7ab0078169f72f68a8e52131fb7b4786b281865e50c9a612e1a
+EBUILD tree-3.18.ebuild 746 BLAKE2B e57385f0c0d8640ee66d4464fa92f58507828902e452e93397e8d422ae0890592be318079b15e5cc147e1f1c6f4910ddd0f2da64fd92378efab4a3a60f8b5a58 SHA512 6e9d12f29c7dd7d0c3f5a437cb847ff12d457c3adc13d992523c2b716781196c26f2de92e2474c65188492c724f213299a07b7b34aecf7a7a194cc926b87f72b
+MISC metadata.xml 701 BLAKE2B e0367f9eee54369769f24c6024fe76d5b934d67dfcd5b377ea69516885194060e74f5c70d32ae78d2c71ded893126ee69e19bd5a3778cbea4de560e3c7751df5 SHA512 636c94cc96c157e89b74f26dd72bed483e0525bc8d992cb2dbda443790dfea8d0335e2f870e02ea56509c2152a63a70799a74c706a1ee33117e5dc50268b6ae8
diff --git a/dev-cpp/tree/metadata.xml b/dev-cpp/tree/metadata.xml
index 4c2b6ad9bcc9..9a339da1603b 100644
--- a/dev-cpp/tree/metadata.xml
+++ b/dev-cpp/tree/metadata.xml
@@ -12,4 +12,7 @@
others). Where possible the access methods are compatible with the
STL or alternative algorithms are available.
</longdescription>
+ <upstream>
+ <remote-id type="github">kpeeters/tree.hh</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/dev-cpp/tree/tree-3.18.ebuild b/dev-cpp/tree/tree-3.18.ebuild
new file mode 100644
index 000000000000..33b480f4a325
--- /dev/null
+++ b/dev-cpp/tree/tree-3.18.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DOCS_BUILDER="doxygen"
+DOCS_CONFIG_NAME="doxygen_tree.config"
+DOCS_DIR="doc"
+
+inherit docs toolchain-funcs
+
+DESCRIPTION="An STL-like tree class"
+HOMEPAGE="https://github.com/kpeeters/tree.hh"
+SRC_URI="https://github.com/kpeeters/tree.hh/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}.hh-${PV}"
+
+LICENSE="|| ( GPL-2 GPL-3 )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+
+src_configure() {
+ tc-export CXX
+}
+
+src_compile() {
+ docs_compile
+}
+
+src_test() {
+ cd src || die
+ emake
+ emake run_tests
+}
+
+src_install() {
+ doheader src/tree.hh src/tree_util.hh
+ dodoc -r examples
+ einstalldocs
+}