pentoo-overlay/app-forensics/yara/yara-4.0.5.ebuild
2021-02-06 14:39:23 +08:00

35 lines
890 B
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
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="amd64 ~arm64 x86"
IUSE="+dex python"
DEPEND="dev-libs/openssl:0="
RDEPEND="${DEPEND}"
PDEPEND="python? ( =dev-python/yara-python-4* )"
src_prepare() {
default
eautoreconf
}
src_configure() {
econf $(use_enable dex)
}
# --enable-profiling enable rules profiling support
# --enable-cuckoo enable cuckoo module
# --enable-magic enable magic module
# --enable-dotnet enable dotnet module
# --enable-macho enable macho module
# --enable-debug-dex enable dex module debugging