summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-12-04 04:33:36 +0000
committerSam James <sam@gentoo.org>2021-12-04 04:33:36 +0000
commit9fa634baf2ea8aa9ea672b31a260d6f7b07eb880 (patch)
tree343afc41b9bc5e085442cb8835c1c758d876ef23 /dev-cpp/elfio
parentdev-util/libtree: initial import (diff)
downloadgentoo-9fa634baf2ea8aa9ea672b31a260d6f7b07eb880.tar.gz
gentoo-9fa634baf2ea8aa9ea672b31a260d6f7b07eb880.tar.bz2
gentoo-9fa634baf2ea8aa9ea672b31a260d6f7b07eb880.zip
dev-cpp/elfio: initial import
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/elfio')
-rw-r--r--dev-cpp/elfio/Manifest1
-rw-r--r--dev-cpp/elfio/elfio-3.9.ebuild27
-rw-r--r--dev-cpp/elfio/metadata.xml11
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-cpp/elfio/Manifest b/dev-cpp/elfio/Manifest
new file mode 100644
index 000000000000..0f9656cf99df
--- /dev/null
+++ b/dev-cpp/elfio/Manifest
@@ -0,0 +1 @@
+DIST elfio-3.9.tar.gz 4265086 BLAKE2B 3f2f40930ad82b9bd4f53f14c117e71e5c8ba39f0952555c51f196ca03b187702347c80db30ecf6ad9d19bc4edfae18d1b3f04d4cd09e2b85f9bba9736e0a78a SHA512 479c4132ac3575940bd1e8190ba5253e54ae57f38319d7bca75ea85ee2f744f5d5b460d2d4ceb17eca0d0561c6e281673f050bbdab2f5ff526c031c220876bf1
diff --git a/dev-cpp/elfio/elfio-3.9.ebuild b/dev-cpp/elfio/elfio-3.9.ebuild
new file mode 100644
index 000000000000..048dd0370aad
--- /dev/null
+++ b/dev-cpp/elfio/elfio-3.9.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2020-2021 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
+}
diff --git a/dev-cpp/elfio/metadata.xml b/dev-cpp/elfio/metadata.xml
new file mode 100644
index 000000000000..ed1cdcacd518
--- /dev/null
+++ b/dev-cpp/elfio/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sam@gentoo.org</email>
+ <name>Sam James</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">serge1/ELFIO</remote-id>
+ </upstream>
+</pkgmetadata>