mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 12:30:44 +02:00
build-tools: new ebuild, required for objection patchapk
This commit is contained in:
parent
01d60c6fe9
commit
3c6450abe3
3 changed files with 36 additions and 1 deletions
1
dev-util/build-tools/Manifest
Normal file
1
dev-util/build-tools/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST build-tools_r30-linux.zip 68819159 BLAKE2B e1c939df216b6e976cdaed51a635d40fc502a44713f3a26b74b9e1363b04269cbc39fd4f9be0d8ff99d0b046f94e83b156fdf3453d0a9274ef9f2a3e520a4e7c SHA512 242b115b32d65847093e71ae78244e5c51673d49821afd933782558c6fb706c0b1b114981edef89a8213fe2d8ca53bfbc51015bdde4ee3ced43b7fe0748ed655
|
||||
33
dev-util/build-tools/build-tools-30.ebuild
Normal file
33
dev-util/build-tools/build-tools-30.ebuild
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Android SDK Build Tools"
|
||||
HOMEPAGE="https://developer.android.com/studio/releases/build-tools"
|
||||
#https://androidsdkoffline.blogspot.com/p/android-sdk-build-tools.html
|
||||
SRC_URI="https://dl.google.com/android/repository/build-tools_r${PV}-linux.zip"
|
||||
|
||||
LICENSE="android"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
RESTRICT="strip"
|
||||
QA_PREBUILT="*"
|
||||
|
||||
S="${WORKDIR}/android-11"
|
||||
|
||||
ANDROID_SDK_BUILD_TOOLS_DIR="/opt/android-sdk-update-manager/${PN}"
|
||||
|
||||
src_install() {
|
||||
# echo "PATH=\"${EPREFIX}${ANDROID_SDK_DIR}/tools:${EPREFIX}${ANDROID_SDK_DIR}/platform-tools\"" > "${T}/80${PN}" || die
|
||||
|
||||
echo "PATH=\"${EPREFIX}${ANDROID_SDK_BUILD_TOOLS_DIR}\"" > "${T}/81${PN}" || die
|
||||
doenvd "${T}/81${PN}"
|
||||
|
||||
dodir "${ANDROID_SDK_BUILD_TOOLS_DIR}/${PV}"
|
||||
cp -R "${S}"/* "${ED}/${ANDROID_SDK_BUILD_TOOLS_DIR}/${PV}" || die "Copy files failed"
|
||||
}
|
||||
|
|
@ -29,12 +29,13 @@ RDEPEND=">=dev-util/frida-tools-7.0.0[${PYTHON_USEDEP}]
|
|||
>=dev-python/litecli-1.3.0[${PYTHON_USEDEP}]
|
||||
net-libs/nodejs[npm]
|
||||
patchapk? (
|
||||
dev-util/build-tools
|
||||
dev-util/android-tools
|
||||
virtual/jdk:*
|
||||
dev-util/apktool
|
||||
)"
|
||||
#patchapk
|
||||
#https://github.com/sensepost/objection/wiki/Patching-Android-Applications#patching---dependencies
|
||||
#FIXME patchapk: missing aapt
|
||||
#patchipa
|
||||
#https://github.com/sensepost/objection/wiki/Patching-iOS-Applications#patching---dependencies
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue