public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-util/poke-elf/
@ 2024-04-02 11:55 Arsen Arsenović
  0 siblings, 0 replies; only message in thread
From: Arsen Arsenović @ 2024-04-02 11:55 UTC (permalink / raw
  To: gentoo-commits

commit:     e2542ebf4e87ef5785d0a45df159c5267e0c8ca2
Author:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  2 10:02:52 2024 +0000
Commit:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Tue Apr  2 11:54:47 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2542ebf

dev-util/poke-elf: new package, add 1.0, 9999

Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org>

 dev-util/poke-elf/Manifest             |  1 +
 dev-util/poke-elf/metadata.xml         | 11 +++++++++
 dev-util/poke-elf/poke-elf-1.0.ebuild  | 43 ++++++++++++++++++++++++++++++++++
 dev-util/poke-elf/poke-elf-9999.ebuild | 43 ++++++++++++++++++++++++++++++++++
 4 files changed, 98 insertions(+)

diff --git a/dev-util/poke-elf/Manifest b/dev-util/poke-elf/Manifest
new file mode 100644
index 000000000000..5b633b033f7d
--- /dev/null
+++ b/dev-util/poke-elf/Manifest
@@ -0,0 +1 @@
+DIST poke-elf-1.0.tar.gz 272395 BLAKE2B 43490739f87ef82427a2d5f46f38e83271a5dc15e50b19bdaae6acf8a337f9c590e671fe023b8f722a66bde4b3bc38ca48ed09887991d8d6ff32fe9dc7f928ca SHA512 43d84b20cbd1e76d170623290aa8c9cee0d4188ca0605352514bc13b7bae435fdb2bd35a3271902b9d5a758598030e152f8ff19be07d6abee1cf43bae1c434c8

diff --git a/dev-util/poke-elf/metadata.xml b/dev-util/poke-elf/metadata.xml
new file mode 100644
index 000000000000..3b2c69aa7f48
--- /dev/null
+++ b/dev-util/poke-elf/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>arsen@gentoo.org</email>
+    <name>Arsen Arsenović</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="savannah">poke/poke-elf</remote-id>
+  </upstream>
+</pkgmetadata>

diff --git a/dev-util/poke-elf/poke-elf-1.0.ebuild b/dev-util/poke-elf/poke-elf-1.0.ebuild
new file mode 100644
index 000000000000..600328292079
--- /dev/null
+++ b/dev-util/poke-elf/poke-elf-1.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="A GNU poke pickle for manipulating ELF files"
+HOMEPAGE="https://jemarch.net/poke-elf"
+
+if [[ ${PV} == 9999 ]]; then
+	inherit autotools git-r3
+	EGIT_REPO_URI="https://git.savannah.gnu.org/git/poke/poke-elf.git"
+	REGEN_BDEPEND="
+		>=dev-build/autoconf-2.62
+		>=dev-build/automake-1.16
+		>=dev-util/poke-4
+		sys-apps/texinfo
+	"
+elif [[ $(ver_cut 2) -ge 90 || $(ver_cut 3) -ge 90 ]]; then
+	SRC_URI="https://alpha.gnu.org/gnu/poke/${P}.tar.gz"
+	REGEN_BDEPEND=""
+else
+	SRC_URI="mirror://gnu/poke/${P}.tar.gz"
+	KEYWORDS="~amd64"
+	REGEN_BDEPEND=""
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+RDEPEND="
+	>=dev-util/poke-4
+	!<dev-util/poke-4
+"
+DEPEND="${RDEPEND}"
+BDEPEND="${REGEN_BDEPEND}"
+
+src_prepare() {
+	default
+
+	if [[ ${PV} == 9999 ]]; then
+		eautoreconf
+	fi
+}

diff --git a/dev-util/poke-elf/poke-elf-9999.ebuild b/dev-util/poke-elf/poke-elf-9999.ebuild
new file mode 100644
index 000000000000..600328292079
--- /dev/null
+++ b/dev-util/poke-elf/poke-elf-9999.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="A GNU poke pickle for manipulating ELF files"
+HOMEPAGE="https://jemarch.net/poke-elf"
+
+if [[ ${PV} == 9999 ]]; then
+	inherit autotools git-r3
+	EGIT_REPO_URI="https://git.savannah.gnu.org/git/poke/poke-elf.git"
+	REGEN_BDEPEND="
+		>=dev-build/autoconf-2.62
+		>=dev-build/automake-1.16
+		>=dev-util/poke-4
+		sys-apps/texinfo
+	"
+elif [[ $(ver_cut 2) -ge 90 || $(ver_cut 3) -ge 90 ]]; then
+	SRC_URI="https://alpha.gnu.org/gnu/poke/${P}.tar.gz"
+	REGEN_BDEPEND=""
+else
+	SRC_URI="mirror://gnu/poke/${P}.tar.gz"
+	KEYWORDS="~amd64"
+	REGEN_BDEPEND=""
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+RDEPEND="
+	>=dev-util/poke-4
+	!<dev-util/poke-4
+"
+DEPEND="${RDEPEND}"
+BDEPEND="${REGEN_BDEPEND}"
+
+src_prepare() {
+	default
+
+	if [[ ${PV} == 9999 ]]; then
+		eautoreconf
+	fi
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2024-04-02 11:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-02 11:55 [gentoo-commits] repo/gentoo:master commit in: dev-util/poke-elf/ Arsen Arsenović

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox