blob: a514ff8e46905cf2016c4a5640ede3476f5d771d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="A malware identification and classification tool"
HOMEPAGE="http://virustotal.github.io/yara/"
SRC_URI="https://github.com/virustotal/yara/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS=""
IUSE="+dex +dotnet +cuckoo +macho +magic profiling python"
DEPEND="
dev-libs/openssl:0=
cuckoo? ( dev-libs/jansson:= )
magic? ( sys-apps/file:0= )
"
RDEPEND="${DEPEND}"
PDEPEND="python? ( =dev-python/yara-python-4* )"
S="${WORKDIR}/${PN}-${PV/_/-}"
src_prepare() {
default
eautoreconf
}
src_configure() {
econf \
$(use_enable profiling) \
$(use_enable cuckoo) \
$(use_enable magic) \
$(use_enable dotnet) \
$(use_enable macho) \
$(use_enable dex)
}
|