void-packages/srcpkgs/radare2/template
2020-04-17 16:15:19 +02:00

20 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