summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-util/bin_replace_string/bin_replace_string-0.2.ebuild19
1 files changed, 6 insertions, 13 deletions
diff --git a/dev-util/bin_replace_string/bin_replace_string-0.2.ebuild b/dev-util/bin_replace_string/bin_replace_string-0.2.ebuild
index d51ab7696095..39ed0c289e8d 100644
--- a/dev-util/bin_replace_string/bin_replace_string-0.2.ebuild
+++ b/dev-util/bin_replace_string/bin_replace_string-0.2.ebuild
@@ -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
}