2021-10-24 20:31:15 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://github.com/VirusTotal/yara
|
|
|
|
TERMUX_PKG_DESCRIPTION="Tool aimed at helping malware researchers to identify and classify malware samples"
|
|
|
|
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
2022-01-31 19:18:51 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2022-04-26 15:46:53 +02:00
|
|
|
TERMUX_PKG_VERSION=4.2.1
|
2021-10-24 20:31:15 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://github.com/VirusTotal/yara/archive/v$TERMUX_PKG_VERSION.tar.gz
|
2022-04-26 15:46:53 +02:00
|
|
|
TERMUX_PKG_SHA256=f26d9c481e6789181431ac410665f6ba25d551c2948995f84c9e17df7a93731a
|
2022-03-12 14:16:31 +01:00
|
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
2022-04-01 09:41:46 +02:00
|
|
|
TERMUX_PKG_UPDATE_VERSION_REGEXP="\d+\.\d+\.\d+"
|
2022-04-26 15:46:53 +02:00
|
|
|
TERMUX_PKG_DEPENDS="file, openssl, libandroid-posix-semaphore"
|
2021-10-24 20:31:15 +02:00
|
|
|
TERMUX_PKG_BREAKS="yara-dev"
|
|
|
|
TERMUX_PKG_REPLACES="yara-dev"
|
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
2022-04-26 15:46:53 +02:00
|
|
|
LDFLAGS+=" -landroid-posix-semaphore"
|
2021-10-24 20:31:15 +02:00
|
|
|
./bootstrap.sh
|
|
|
|
}
|