# Contributor: Sören Tempel # Contributor: Valery Kartel # Contributor: stef # Contributor: Jose-Luis Rivas # Maintainer: Valery Kartel pkgname=radare2 pkgver=3.4.1 pkgrel=0 pkgdesc="An opensource, crossplatform reverse engineering framework" url="http://www.radare.org" arch="all" license="GPL-3.0" options="!check" # upstream does not provide any working testsuite depends="" depends_dev="" makedepends="$depends_dev libzip-dev openssl-dev capstone-dev linux-headers" install="" subpackages="$pkgname-dev $pkgname-doc $pkgname-dbg $pkgname-libs" source="$pkgname-$pkgver.tar.gz::https://github.com/radare/$pkgname/archive/${pkgver}.tar.gz" builddir="$srcdir"/$pkgname-$pkgver build() { [ "$CARCH" = "s390x" ] && _disable_debugger="--disable-debugger" cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ $_disable_debugger \ --with-syscapstone \ --with-openssl \ --with-syszip make -j1 HAVE_LIBVERSION=1 } package() { cd "$builddir" make DESTDIR="$pkgdir" install } sha512sums="8803d54a8158aedd5900792bd013dad440a14abbb6fcbdf963e5d9031f30e66865479f29877e6f656ab01b59b3138458daf52f1eaeb462ec767c128d0b12640a radare2-3.4.1.tar.gz"