mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
app-misc/bgrep: add 0.2_p20250205
update EAPI 7->8 dep -> bdep for test Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Closes: https://github.com/gentoo/gentoo/pull/40557 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
2c97b5f0ce
commit
0b5aaffcdc
@@ -1 +1,2 @@
|
||||
DIST bgrep-0.2_p20210221.tar.gz 4854 BLAKE2B 85c9171572e440f1e5def3a902a4adb1a3339706847013c6ff139745a819d9eab48a9449bf89b631cfcfe0081365240eefcae46a68064f710178db6d2db50037 SHA512 a9488ee9fd68a1b0e9924cbdf1e36fb3517cdceee4b57a27ef148ccd2c3f51942f8a57b41d47a2cb5b65b376b0b87c92ca4ee5d7053714a725c57ffbabbf12b6
|
||||
DIST bgrep-0.2_p20250205.tar.gz 5584 BLAKE2B 150e17de8da4906691f96c55a7f0198d9b85812a2e8ca3a4e20abb0d395472fea78186b594721cc3a652b973a0cec637745a7ed8d8dff43722a657bc4fb154cf SHA512 4875121988e9fd55f456fa3a043f2702cdaa5a39bba39e5384c049f9b26b27deae597240ea5ac9dd98860baeeeb73cd62814f8ec73d7a20e1e645498be3080f0
|
||||
|
||||
40
app-misc/bgrep/bgrep-0.2_p20250205.ebuild
Normal file
40
app-misc/bgrep/bgrep-0.2_p20250205.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Grep-like tool to search for binary strings"
|
||||
HOMEPAGE="https://github.com/tmbinc/bgrep/"
|
||||
COMMIT="6eb0e4730c5ae88574bdab83b07d7b25ac544778"
|
||||
SRC_URI="https://github.com/tmbinc/bgrep/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="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() {
|
||||
./test/bgrep-test.sh || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bgrep
|
||||
dodoc README
|
||||
}
|
||||
Reference in New Issue
Block a user