diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2019-03-04 18:12:11 +0100 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2019-03-10 23:35:04 +0100 |
commit | 24b88ab2aeee7a9e9cd44984ae45bcb1c2320464 (patch) | |
tree | ce91b4f727e568d8c502fc2b577fea6ac837454e | |
parent | app-forensics/memdump: EAPI 7 bump. (diff) | |
download | gentoo-24b88ab2aeee7a9e9cd44984ae45bcb1c2320464.tar.gz gentoo-24b88ab2aeee7a9e9cd44984ae45bcb1c2320464.tar.bz2 gentoo-24b88ab2aeee7a9e9cd44984ae45bcb1c2320464.zip |
app-misc/bgrep: EAPI 7 bump.
Closes: https://bugs.gentoo.org/679426
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11255
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
-rw-r--r-- | app-misc/bgrep/bgrep-0_p20110121-r1.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/app-misc/bgrep/bgrep-0_p20110121-r1.ebuild b/app-misc/bgrep/bgrep-0_p20110121-r1.ebuild new file mode 100644 index 000000000000..bdcaf0ef288e --- /dev/null +++ b/app-misc/bgrep/bgrep-0_p20110121-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +GITHUB_USER="tmbinc" +GITHUB_HASH="49b098be9548d174023ad05c10f6af9d02b8e18e" +MY_P="${GITHUB_USER}-${PN}-${GITHUB_HASH:0:7}" + +inherit toolchain-funcs + +DESCRIPTION="Grep-like tool to search for binary strings" +HOMEPAGE="https://github.com/tmbinc/bgrep/" +SRC_URI="https://github.com/${GITHUB_USER}/${PN}/tarball/${GITHUB_HASH} -> ${MY_P}.tar.gz" + +S="${WORKDIR}/${MY_P}" +LICENSE="MIT" +SLOT="0" + +KEYWORDS="~amd64" + +IUSE="test" + +RDEPEND="" +DEPEND="test? ( dev-lang/perl )" + +src_prepare() { + default + sed -i -e "s|/tmp/|${T}/|g" \ + test/bgrep-test.sh || die +} + +src_compile() { + tc-export CC + emake +} + +src_test() { + cd test || die + ./bgrep-test.sh || die +} + +src_install() { + dobin bgrep + dodoc README +} |