aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeon Marz <lmarz@cs.uni-frankfurt.de>2020-06-18 12:46:16 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-07-11 11:04:32 +0000
commit799d753fbdf2c1228259e1615a5752a9bf7330e0 (patch)
tree1afcbc34c14eb843bf49a1479eadbaab3e1414fd
parentb91bf68c3e8c0c3a94ca330f485b004cf68cb0f3 (diff)
downloadaports-799d753fbdf2c1228259e1615a5752a9bf7330e0.tar.gz
aports-799d753fbdf2c1228259e1615a5752a9bf7330e0.tar.bz2
aports-799d753fbdf2c1228259e1615a5752a9bf7330e0.tar.xz
testing/radare2-cutter: new aport
https://cutter.re Reverse engineering platform powered by radare2
-rw-r--r--testing/radare2-cutter/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/radare2-cutter/APKBUILD b/testing/radare2-cutter/APKBUILD
new file mode 100644
index 0000000000..d39467462c
--- /dev/null
+++ b/testing/radare2-cutter/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: Leon Marz <lmarz@cs.uni-frankfurt.de>
+# Maintainer: Leon Marz <lmarz@cs.uni-frankfurt.de>
+pkgname=radare2-cutter
+pkgver=1.10.3
+pkgrel=0
+pkgdesc="Reverse Engineering Platform powered by radare2"
+url="https://cutter.re"
+arch="all"
+license="GPL-3.0-only"
+depends="radare2"
+makedepends="cmake libzip-dev zlib-dev python3-dev radare2-dev qt5-qtsvg-dev
+ capstone-dev syntax-highlighting-dev graphviz-dev"
+subpackages="$pkgname-dev"
+source="$pkgname-$pkgver.tar.gz::https://github.com/radareorg/cutter/archive/v$pkgver.tar.gz"
+builddir="$srcdir/cutter-$pkgver"
+options="!check" # upstream does not provide a testsuite
+
+build() {
+ cmake -B build \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCUTTER_ENABLE_PYTHON=ON \
+ src/
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --build build --target install
+}
+
+sha512sums="8bee19ad5cc4304c52907247ac508bb10d1bf8251a0c75f96c01dbe918327f18ee0e76f831feca0c115134e08025fc9b79dc1d8e3e01925d4d2c960c8c67336d radare2-cutter-1.10.3.tar.gz"