19 lines
630 B
Bash
19 lines
630 B
Bash
# Template file for 'radare2'
|
|
# cutter needs to be bumped when radare2 is updated
|
|
pkgname=radare2
|
|
version=4.4.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--with-syscapstone"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="capstone-devel"
|
|
short_desc="Advanced command line debugger and hexadecimal editor"
|
|
maintainer="Johannes <johannes.brechtmann@gmail.com>"
|
|
license="LGPL-3.0-only"
|
|
homepage="http://www.radare.org"
|
|
distfiles="https://github.com/radareorg/radare2/archive/${version}.tar.gz"
|
|
checksum=401ab89f39f7e70e03336f6890dc4fdf52dae4f61201e4cd8a1fbe5a4b9eb451
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
mips*) CFLAGS="-Os";;
|
|
esac
|