summaryrefslogtreecommitdiff
path: root/development/radare2/radare2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/radare2/radare2.SlackBuild')
-rw-r--r--development/radare2/radare2.SlackBuild13
1 files changed, 7 insertions, 6 deletions
diff --git a/development/radare2/radare2.SlackBuild b/development/radare2/radare2.SlackBuild
index db34462edd..2dbe8f682a 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:-0.10.5}
+VERSION=${VERSION:-1.6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,7 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $TMP/$PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -70,8 +70,8 @@ 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 {} \;
-# Fix applied patches
-patch -p1 < $CWD/fix-makefile.patch
+patch -p0 --verbose < $CWD/anal_mips_cs.c.patch
+patch -p0 --verbose < $CWD/asm_mips_cs.c.patch
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -81,7 +81,8 @@ CFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--with-openssl \
- --build=$ARCH-slackware-linux
+ --with-syszip \
+ --with-syscapstone
make
make install DESTDIR=$PKG
@@ -93,7 +94,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING* README.md TODO.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING* README.md DEVELOPERS.md CONTRIBUTING.md AUTHORS.md $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/doc/radare2/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
rm -rf $PKG/usr/share/doc