aboutsummaryrefslogtreecommitdiff
path: root/development/radare2/radare2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/radare2/radare2.SlackBuild')
-rw-r--r--development/radare2/radare2.SlackBuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/development/radare2/radare2.SlackBuild b/development/radare2/radare2.SlackBuild
index dac5829feb175..72dabf0d678ed 100644
--- a/development/radare2/radare2.SlackBuild
+++ b/development/radare2/radare2.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=radare2
-VERSION=${VERSION:-2.5.0}
+VERSION=${VERSION:-2.8.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,10 +70,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-patch -p0 --verbose < $CWD/anal_mips_cs.c.patch
-patch -p0 --verbose < $CWD/asm_mips_cs.c.patch
-
+CAPSTONE_CFLAGS="-I/usr/include/capstone" \
+CAPSTONE_LDFLAGS="-L/usr/lib${LIBDIRSUFFIX} -lcapstone" \
+USE_R2_CAPSTONE=1 \
CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
@@ -83,7 +84,7 @@ CFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--with-openssl \
--with-syszip \
- --with-syscapstone\
+ --with-syscapstone \
--build=$ARCH-slackware-linux
make