diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-25 13:34:50 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-25 13:34:50 +0000 |
commit | 479921825a5c44a5fbcd5441f00ee98e54db9bac (patch) | |
tree | a40800c43ce47a1158369633f7d432b2bd365743 /app-forensics/honggfuzz/honggfuzz-2.6.ebuild | |
parent | fa5cba104ab90ce81be0cb7e9992447a10e76013 (diff) |
gentoo auto-resync : 25:12:2023 - 13:34:50
Diffstat (limited to 'app-forensics/honggfuzz/honggfuzz-2.6.ebuild')
-rw-r--r-- | app-forensics/honggfuzz/honggfuzz-2.6.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/app-forensics/honggfuzz/honggfuzz-2.6.ebuild b/app-forensics/honggfuzz/honggfuzz-2.6.ebuild new file mode 100644 index 000000000000..234ac8b97131 --- /dev/null +++ b/app-forensics/honggfuzz/honggfuzz-2.6.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="A general purpose fuzzer with feedback support" +HOMEPAGE="https://honggfuzz.dev/" +SRC_URI="https://github.com/google/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="clang" + +RDEPEND=" + >=sys-libs/binutils-libs-2.29:= + sys-libs/libunwind:= + app-arch/xz-utils + clang? ( sys-libs/blocksruntime ) +" + +DEPEND="${RDEPEND} + elibc_musl? ( sys-libs/queue-standalone )" + +DOCS=( + CHANGELOG + COPYING + CONTRIBUTING.md + README.md +) + +PATCHES=( + "${FILESDIR}"/${PN}-2.6-no-werror.patch +) + +pkg_pretend() { + if tc-is-clang; then + use clang || die "${P}: to use clang enable USE=clang for ${P} (bug #729256)." + fi +} + +src_prepare() { + default + tc-export AR CC + export CFLAGS + export LDFLAGS +} + +src_install() { + dobin ${PN} + dobin hfuzz_cc/hfuzz-cc + + einstalldocs +} |