void-packages/srcpkgs/radare2/template
2020-02-02 20:25:26 +01:00

19 lines
627 B
Bash

# Template file for 'radare2'
# cutter needs to be bumped when radare2 is updated
pkgname=radare2
version=4.2.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=70426b7a482f233058b2f161063d55f4a6ff26019e4b4f35a96c74057796009a
case "$XBPS_TARGET_MACHINE" in
mips*) CFLAGS="-Os";;
esac