app-forensics/honggfuzz: respect user's AR setting
authorSergei Trofimovich <slyfox@gentoo.org>
Tue, 26 May 2020 21:59:02 +0000 (22:59 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Tue, 26 May 2020 21:59:02 +0000 (22:59 +0100)
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
app-forensics/honggfuzz/honggfuzz-2.2-r1.ebuild [new file with mode: 0644]

diff --git a/app-forensics/honggfuzz/honggfuzz-2.2-r1.ebuild b/app-forensics/honggfuzz/honggfuzz-2.2-r1.ebuild
new file mode 100644 (file)
index 0000000..cb8aa24
--- /dev/null
@@ -0,0 +1,47 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="A general purpose fuzzer with feedback support"
+HOMEPAGE="https://google.github.io/honggfuzz/"
+SRC_URI="https://github.com/google/honggfuzz/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+RDEPEND="
+       >=sys-libs/binutils-libs-2.29:=
+       sys-libs/libunwind:=
+       app-arch/xz-utils
+"
+
+DEPEND="${RDEPEND}"
+
+DOCS=(
+       CHANGELOG
+       COPYING
+       CONTRIBUTING
+       README.md
+)
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-2.0-no-werror.patch
+)
+
+src_prepare() {
+       default
+       tc-export AR CC
+       export CFLAGS
+       export LDFLAGS
+}
+
+src_install() {
+       dobin ${PN}
+
+       einstalldocs
+}