summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFernando Lopez Jr <fernando.lopezjr@gmail.com>2018-04-22 11:44:12 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-04-28 06:40:08 +0700
commit572d8a452fb1d4f04e1e2c31d9a6aaa6d98267c1 (patch)
tree0884aa2146585b1f82698fc1ebed33322c09cbed
parent351f04b43dab71fa1851d516b3b37c413b307a6f (diff)
downloadslackbuilds-572d8a452fb1d4f04e1e2c31d9a6aaa6d98267c1.tar.gz
development/radare2: Updated for version 2.5.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--development/radare2/radare2.SlackBuild26
-rw-r--r--development/radare2/radare2.info6
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"