New package: Ghidrathon-3.0.1
This commit is contained in:
parent
2a40c00e2c
commit
47e02ff22e
|
@ -0,0 +1,10 @@
|
|||
--- a/build.gradle
|
||||
+++ b/build.gradle
|
||||
@@ -42,7 +42,6 @@
|
||||
// we need to copy the Jep native binaries built in installJep to our extension directory; we use a small
|
||||
// utility script written in Python
|
||||
task copyJepNativeBinaries(type: Exec) {
|
||||
- dependsOn installJep
|
||||
workingDir "${projectDir}"
|
||||
commandLine pythonBin, "util${File.separator}configure_jep_native_binaries.py"
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
# Template file for 'Ghidrathon'
|
||||
pkgname=Ghidrathon
|
||||
version=3.0.1
|
||||
revision=1
|
||||
hostmakedepends="gradle openjdk17 unzip jep"
|
||||
makedepends="ghidra python3-devel"
|
||||
depends="ghidra jep"
|
||||
short_desc="Ghidra extension for Python3 support"
|
||||
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
||||
license="Apache-2.0"
|
||||
homepage="https://github.com/mandiant/Ghidrathon"
|
||||
changelog="https://github.com/mandiant/Ghidrathon/releases"
|
||||
distfiles="https://github.com/mandiant/Ghidrathon/archive/v${version}.tar.gz"
|
||||
checksum=9173f489f4a91569b9b36cf2f78e6b88af2189d742e658829cb492250b238c1f
|
||||
nocross=yes # ghidra cannot be cross-compiled
|
||||
|
||||
do_build() {
|
||||
gradle -PGHIDRA_INSTALL_DIR=${XBPS_CROSS_BASE}/usr/libexec/ghidra
|
||||
}
|
||||
|
||||
do_install() {
|
||||
vmkdir usr/libexec/ghidra/Ghidra/Extensions
|
||||
unzip dist/*Ghidrathon*.zip -d ${DESTDIR}/usr/libexec/ghidra/Ghidra/Extensions
|
||||
}
|
Loading…
Reference in New Issue