From 572d8a452fb1d4f04e1e2c31d9a6aaa6d98267c1 Mon Sep 17 00:00:00 2001 From: Fernando Lopez Jr Date: Sun, 22 Apr 2018 11:44:12 +0100 Subject: [PATCH] development/radare2: Updated for version 2.5.0. Signed-off-by: David Spencer --- development/radare2/radare2.SlackBuild | 26 +++++++++++++------------- development/radare2/radare2.info | 6 +++--- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/development/radare2/radare2.SlackBuild b/development/radare2/radare2.SlackBuild index 932aca04db..dac5829feb 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.2.0} +VERSION=${VERSION:-2.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,7 +60,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $TMP/$PRGNAM-$VERSION +rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . @@ -75,14 +75,16 @@ patch -p0 --verbose < $CWD/asm_mips_cs.c.patch CFLAGS="$SLKCFLAGS" \ ./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --mandir=/usr/man \ - --with-openssl \ - --with-syszip \ - --with-syscapstone + --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --mandir=/usr/man \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --with-openssl \ + --with-syszip \ + --with-syscapstone\ + --build=$ARCH-slackware-linux make make install DESTDIR=$PKG @@ -91,13 +93,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true 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 +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 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 mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/development/radare2/radare2.info b/development/radare2/radare2.info index 8cc9ca42a2..71dedba78c 100644 --- a/development/radare2/radare2.info +++ b/development/radare2/radare2.info @@ -1,8 +1,8 @@ PRGNAM="radare2" -VERSION="2.2.0" +VERSION="2.5.0" HOMEPAGE="http://radare.org/" -DOWNLOAD="https://github.com/radare/radare2/archive/2.2.0.tar.gz" -MD5SUM="41813d5cc44917918898aac51de59a90" +DOWNLOAD="https://github.com/radare/radare2/archive/2.5.0/radare2-2.5.0.tar.gz" +MD5SUM="2f4798a709c9d6782b1f5ea29398eb8f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="capstone"