dev-util/bin_replace_string: Port to EAPI 7

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2020-02-18 20:11:16 +01:00
parent e4cd245e40
commit 399b04c203

View File

@@ -1,27 +1,20 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=4
inherit autotools-utils
EAPI=7
DESCRIPTION="A tool to edit C strings in compiled binaries"
HOMEPAGE="http://ohnopub.net/~ohnobinki/bin_replace_string"
SRC_URI="ftp://mirror.ohnopub.net/mirror/${P}.tar.bz2"
LICENSE="AGPL-3"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux"
IUSE="doc"
RDEPEND="virtual/libelf:0"
DEPEND="doc? ( app-text/txt2man )
${RDEPEND}"
DEPEND="${RDEPEND}"
BDEPEND="app-text/txt2man"
src_configure() {
local myeconfargs=(
$(use_enable doc)
)
autotools-utils_src_configure
econf --enable-doc
}