19 lines
648 B
Bash
19 lines
648 B
Bash
# Template file for 'radare2'
|
|
# cutter needs to be bumped when radare2 is updated
|
|
pkgname=radare2
|
|
version=5.0.0
|
|
revision=1
|
|
build_style=meson
|
|
configure_args="-Duse_sys_capstone=true -Denable_tests=false"
|
|
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=517dd80ebd0569f31498887338eacb92e8cf054bc4625eef8ffe9ea174c1adae
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
mips*) CFLAGS="-Os";;
|
|
esac
|