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.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=8d7f63616d2ea0ed5b0eccf6b6853f07a606ed9b80451d470b47dc44ccfd541e
case "$XBPS_TARGET_MACHINE" in
mips*) CFLAGS="-Os";;
esac