mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-util/poke-elf: new package, add 1.0, 9999
Signed-off-by: Arsen Arsenović <arsen@gentoo.org>
This commit is contained in:
1
dev-util/poke-elf/Manifest
Normal file
1
dev-util/poke-elf/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST poke-elf-1.0.tar.gz 272395 BLAKE2B 43490739f87ef82427a2d5f46f38e83271a5dc15e50b19bdaae6acf8a337f9c590e671fe023b8f722a66bde4b3bc38ca48ed09887991d8d6ff32fe9dc7f928ca SHA512 43d84b20cbd1e76d170623290aa8c9cee0d4188ca0605352514bc13b7bae435fdb2bd35a3271902b9d5a758598030e152f8ff19be07d6abee1cf43bae1c434c8
|
||||
11
dev-util/poke-elf/metadata.xml
Normal file
11
dev-util/poke-elf/metadata.xml
Normal file
@@ -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>
|
||||
43
dev-util/poke-elf/poke-elf-1.0.ebuild
Normal file
43
dev-util/poke-elf/poke-elf-1.0.ebuild
Normal file
@@ -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
|
||||
}
|
||||
43
dev-util/poke-elf/poke-elf-9999.ebuild
Normal file
43
dev-util/poke-elf/poke-elf-9999.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user