void-packages/srcpkgs/radare2/template
2020-03-11 19:47:42 +01:00

19 lines
627 B
Bash

# Template file for 'radare2'
# cutter needs to be bumped when radare2 is updated
pkgname=radare2
version=4.3.1
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/radare/radare2/archive/${version}.tar.gz"
checksum=4abcb9c9dff24eab44d64d392e115ae774ab1ad90d04f2c983d96d7d7f9476aa
case "$XBPS_TARGET_MACHINE" in
mips*) CFLAGS="-Os";;
esac