diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2024-03-22 09:46:52 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2024-03-22 09:49:34 +0200 |
commit | ee38a89974d3fe632d140e749b5f164a1f0a786a (patch) | |
tree | 3640b01a550ba85cecb442d90a6327b41afa907e /dev-cpp | |
parent | www-client/opera: remove old (diff) | |
download | gentoo-ee38a89974d3fe632d140e749b5f164a1f0a786a.tar.gz gentoo-ee38a89974d3fe632d140e749b5f164a1f0a786a.tar.bz2 gentoo-ee38a89974d3fe632d140e749b5f164a1f0a786a.zip |
dev-cpp/tree: add 3.18
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-cpp')
-rw-r--r-- | dev-cpp/tree/Manifest | 1 | ||||
-rw-r--r-- | dev-cpp/tree/tree-3.18.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-cpp/tree/Manifest b/dev-cpp/tree/Manifest index e15c6b6bc9ee..b7bf3066bc41 100644 --- a/dev-cpp/tree/Manifest +++ b/dev-cpp/tree/Manifest @@ -1 +1,2 @@ DIST tree-3.17.tar.gz 1178425 BLAKE2B f59239b861c0495c48036d0fffa49370d4cd78a94bfc35348bbbe0232a3c1221293a23366a6289429adabcb00b21292288ce085fa54f74dc204537c95c5b7c37 SHA512 af11f693c13dd37dddf016751c0f975c21d7a5ad405879e18fbe5387400ee1fcfb42942ee8888efffcb0c985d7875f2698591139aeb18b4809e83e225a743112 +DIST tree-3.18.tar.gz 1179107 BLAKE2B d05f90c58e203800a7482d0d7b36625dc32e9d3321a65f80fda380d2d7c214be1f47bc01d9f20fe2e287eeafdebe4180940ba7dbc7f78c12072193cbb95c2df1 SHA512 df9047fcd92ac5137af47dd03582fa1ba87651f112a91a1d61eecf3916af1a2130e1841e954af9b6eeb167da33c9e50c2662ecdcc5317e67173ba50f77afeae0 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 +} |