aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2021-07-19 15:34:11 +0200
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2021-07-19 15:35:11 +0200
commitff6aff1624302482037a5f957ca89add768e7be0 (patch)
tree164bd551b25502a8826a924cd20f79d2a126211a /app-forensics
parentsys-fs/erofs-utils: fix HomepageInSrcUri (diff)
downloadguru-ff6aff1624302482037a5f957ca89add768e7be0.tar.gz
guru-ff6aff1624302482037a5f957ca89add768e7be0.tar.bz2
guru-ff6aff1624302482037a5f957ca89add768e7be0.zip
app-forensics/yara: some changes based on Juippis suggestions
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'app-forensics')
-rw-r--r--app-forensics/yara/yara-4.1.1.ebuild13
1 files 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
}