commit: 3a1b40fad7075f2180c95f807cdf66c93d84d954 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Thu Feb 10 07:02:53 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Feb 10 07:50:10 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a1b40fa
dev-cpp/elfio: add 3.10 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-cpp/elfio/Manifest | 1 + dev-cpp/elfio/elfio-3.10.ebuild | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/dev-cpp/elfio/Manifest b/dev-cpp/elfio/Manifest index 0f9656cf99df..8207c887f2a5 100644 --- a/dev-cpp/elfio/Manifest +++ b/dev-cpp/elfio/Manifest @@ -1 +1,2 @@ +DIST elfio-3.10.tar.gz 4243841 BLAKE2B a4cd5e7cb8b2f13cd7341adacb623b996e07e8ac761cd0f1e8eb20a87770fa936bf97ad79a0ff8d700ac41278bae7c5dd00d277f4c2d47e73340aaf607b7ee49 SHA512 f609fe5162d1609d1d65f441dbf01011ca5ae36195d8b3a74dec2b72891e9f8f90d3fdbc9bf893f7186494071606e898e5519fda18665fc88ae9781c504cd4a9 DIST elfio-3.9.tar.gz 4265086 BLAKE2B 3f2f40930ad82b9bd4f53f14c117e71e5c8ba39f0952555c51f196ca03b187702347c80db30ecf6ad9d19bc4edfae18d1b3f04d4cd09e2b85f9bba9736e0a78a SHA512 479c4132ac3575940bd1e8190ba5253e54ae57f38319d7bca75ea85ee2f744f5d5b460d2d4ceb17eca0d0561c6e281673f050bbdab2f5ff526c031c220876bf1 diff --git a/dev-cpp/elfio/elfio-3.10.ebuild b/dev-cpp/elfio/elfio-3.10.ebuild new file mode 100644 index 000000000000..18f8232d6cfc --- /dev/null +++ b/dev-cpp/elfio/elfio-3.10.ebuild @@ -0,0 +1,27 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="ELF reader/producer header-only C++ library" +HOMEPAGE="https://github.com/serge1/ELFIO" +SRC_URI="https://github.com/serge1/${PN}/archive/Release_${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/${PN^^}-Release_${PV} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( dev-libs/boost )" + +src_configure() { + local mycmakeargs=( + -DELFIO_BUILD_TESTS=$(usex test) + ) + + cmake_src_configure +}