diff --git a/satellites/radare2.sat b/satellites/radare2.sat new file mode 100644 index 0000000..b08cbf2 --- /dev/null +++ b/satellites/radare2.sat @@ -0,0 +1,26 @@ +# Build with the included version of capstone due to it using a newer version and includes patches for it. +# It also contains a patched libmagic which is incompatible with most systems. + +import 'compile/configure' + +name=radare2 +version=1.2.0 +update_url='http://rada.re/r/down.html' + +dlextract "http://cloud.radare.org/get/$version/$name-$version.tar.gz" \ + 'a463cfd727f31d235afec80ab000345c' +header_end + +cd "$name-$version" + +# Radare2 now uses acr instead of autoconf. +# However, it tries to be full-compatible, so I hope it'll stay that way. + +# There's just one little thing... + +# Fix paths +sed -i -e "s/\${DATADIR}\/doc/$(safe_sed "/$dir_prefix/$dir_docdir")/" Makefile + +compile_configure -- --with-syszip + +# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: