blob: cd0ac9c2eef53114f3bd1461932afa7d87c50037 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Valery Kartel <valery.kartel@gmail.com>
# Contributor: stef <l0ls0fo2i@ctrlc.hu>
# Contributor: Jose-Luis Rivas <ghostbar@riseup.net>
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=radare2
pkgver=2.9.0
pkgrel=1
pkgdesc="An opensource, crossplatform reverse engineering framework"
url="http://www.radare.org"
arch="all !aarch64"
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 HAVE_LIBVERSION=1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="8365edd54d0a8030955b566f750ae4c3b5db26550fa3035f7d543d6f2a9b31760a38df30dfd839f7c9ab938e7f032997d9a3198a16f44c54c71c58c39a2cfc8c radare2-2.9.0.tar.gz"
|