summaryrefslogtreecommitdiff
path: root/development/radare2/radare2.SlackBuild
diff options
context:
space:
mode:
authorFernando Lopez Jr <fernando.lopezjr@gmail.com>2018-08-20 18:56:17 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-08-20 18:56:17 +0100
commitaa88b04cd8f0488b8ef2879624baee4e90e4f6c8 (patch)
tree6546bf16bebd455119544266d32d46205ac1cf96 /development/radare2/radare2.SlackBuild
parent69b2d53919442a98c3f30f8ab1f6b62df3c36762 (diff)
downloadslackbuilds-aa88b04cd8f0488b8ef2879624baee4e90e4f6c8.tar.gz
development/radare2: Updated for version 2.8.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
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 dac5829feb..72dabf0d67 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