commit: ff6aff1624302482037a5f957ca89add768e7be0
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Mon Jul 19 13:34:11 2021 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Mon Jul 19 13:35:11 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ff6aff16
app-forensics/yara: some changes based on Juippis suggestions
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
app-forensics/yara/yara-4.1.1.ebuild | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/app-forensics/yara/yara-4.1.1.ebuild
b/app-forensics/yara/yara-4.1.1.ebuild
index e1be593ed..ddc420d6c 100644
--- a/app-forensics/yara/yara-4.1.1.ebuild
+++ b/app-forensics/yara/yara-4.1.1.ebuild
@@ -35,6 +35,8 @@ DEPEND="
"
RDEPEND="${DEPEND}"
+DOCS=( CONTRIBUTORS sample.{file,rules} )
+
src_prepare() {
default
eautoreconf
@@ -42,6 +44,13 @@ src_prepare() {
src_configure() {
local myconf=(
+ --disable-address-sanitizer
+ --disable-debug
+ --disable-gcov
+ --disable-pb-tests
+ --enable-optimization
+ --with-crypto
+
$(use_enable cuckoo)
$(use_enable debug-dex)
$(use_enable dex)
@@ -65,7 +74,5 @@ src_compile() {
src_install() {
default
einstalldocs
- dodoc CONTRIBUTORS sample.{file,rules}
- find "${ED}" -name '*.la' -delete || die
- find "${ED}" -name '*.a' -delete || die
+ find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
}