mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
33 lines
878 B
Bash
33 lines
878 B
Bash
# Copyright 1999-2028 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
PYTHON_COMPAT=( python3_{12..14} )
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="Android Package Protector Identifier"
|
|
HOMEPAGE="https://github.com/rednaga/APKiD/"
|
|
#Use github to download a version with ./prep-release.py script which compiles yara rules
|
|
HASH_COMMIT="009241dad0ea25a9ad64e0c90eda9ad8e2c77032"
|
|
SRC_URI="https://github.com/rednaga/APKiD/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
|
S="${WORKDIR}/APKiD-${HASH_COMMIT}"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~arm64 x86"
|
|
RESTRICT="test"
|
|
|
|
RDEPEND="${PYTHON_DEPS}
|
|
dev-python/yara-python[${PYTHON_USEDEP}]
|
|
app-forensics/yara:=[dex]"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
src_prepare(){
|
|
#we compile dex
|
|
sed "s|yara-python-dex.*|yara-python',|g" -i setup.py || die
|
|
./prep-release.py
|
|
default
|
|
}
|