diff options
author | Fernando Lopez Jr <fernando.lopezjr@gmail.com> | 2017-07-17 10:29:08 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-07-22 06:56:01 +0700 |
commit | 6b3b24d811c9a6197ff259a22a5495d16f327010 (patch) | |
tree | 9f470685a2e3f727976eb56ec4a57c39e5790e06 /development/radare2/radare2.SlackBuild | |
parent | 7cd1f092dc163a91292aaf3bfd81482384fb69c2 (diff) | |
download | slackbuilds-6b3b24d811c9a6197ff259a22a5495d16f327010.tar.gz |
development/radare2: Updated for version 1.6.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/radare2/radare2.SlackBuild')
-rw-r--r-- | development/radare2/radare2.SlackBuild | 13 |
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 |