mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-15 21:02:30 +01:00
apkid-2.1.3.ebuild
This commit is contained in:
parent
fa69c1047a
commit
4a27290b8b
3 changed files with 37 additions and 1 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST apkid-2.1.2.tar.gz 55588 BLAKE2B 5db03e23d24ffba141609ec2ef2f9215784b7446606addb819829625afbe91e338aadf23d1977e13d891d8d20111bb827d8909074d912b737f91a94261cfe1fa SHA512 384fc1b4ccb4563106479774afc31ad45565bb3d78572c427e3190593dbc9c136cd4c2efe221a8a381560d0703f35a647b54176a6ea4bcd56c14ccf2ed14dbcb
|
||||
DIST apkid-2.1.3.tar.gz 55588 BLAKE2B 5db03e23d24ffba141609ec2ef2f9215784b7446606addb819829625afbe91e338aadf23d1977e13d891d8d20111bb827d8909074d912b737f91a94261cfe1fa SHA512 384fc1b4ccb4563106479774afc31ad45565bb3d78572c427e3190593dbc9c136cd4c2efe221a8a381560d0703f35a647b54176a6ea4bcd56c14ccf2ed14dbcb
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ SRC_URI="https://github.com/rednaga/APKiD/archive/${HASH_COMMIT}.tar.gz -> ${P}.
|
|||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
KEYWORDS="amd64 ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
|
|
|
|||
35
dev-python/apkid/apkid-2.1.3.ebuild
Normal file
35
dev-python/apkid/apkid-2.1.3.ebuild
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
PYTHON_COMPAT=( python3_{9..10} )
|
||||
|
||||
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="f40e22e73f51615bbaedbc2c8c75a749c1a45d9b"
|
||||
SRC_URI="https://github.com/rednaga/APKiD/archive/${HASH_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE=""
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
dev-python/yara-python[${PYTHON_USEDEP}]
|
||||
app-forensics/yara:=[dex]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/APKiD-${HASH_COMMIT}"
|
||||
|
||||
src_prepare(){
|
||||
#we compile dex
|
||||
sed "s|yara-python-dex.*|yara-python',|g" -i setup.py || die
|
||||
./prep-release.py
|
||||
default
|
||||
}
|
||||
Loading…
Reference in a new issue