You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
973 B
29 lines
973 B
# 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.
|
|
# TODO: Now we're using a stable radare2 instead of git, use system capstone (as there's little patches left to be upstreamed) and possibly libmagic.
|
|
|
|
import 'compile/configure'
|
|
|
|
name=radare2
|
|
version=1.3.0
|
|
update_url='http://rada.re/r/down.html'
|
|
update_names="$name-$version.tar.gz\">$name"
|
|
|
|
dlextract "http://cloud.radare.org/get/$version/$name-$version.tar.gz" \
|
|
'17b6de0edf1d4ba772bbb7c98767619e'
|
|
extrafile "$name-$version-docdir.patch"
|
|
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
|
|
patch -p0 -i "../$name-$version-docdir.patch"
|
|
|
|
compile_configure -- --with-syszip
|
|
|
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:
|
|
|