void-packages/srcpkgs/radare2/template

20 lines
630 B
Bash

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