Browse Source

Add radare2-0.10.5 package (#459)

android-5
radare 8 years ago
committed by Fredrik Fornwall
parent
commit
8986bfde7e
  1. 7
      packages/radare2/build.sh
  2. 13
      packages/radare2/sdb-make.patch

7
packages/radare2/build.sh

@ -0,0 +1,7 @@
TERMUX_PKG_HOMEPAGE=http://rada.re
TERMUX_PKG_DESCRIPTION="Advanced Hexadecimal Editor"
TERMUX_PKG_VERSION=0.10.5
TERMUX_PKG_SRCURL=https://github.com/radare/radare2/archive/$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_FOLDERNAME="radare2-$TERMUX_PKG_VERSION"
TERMUX_PKG_BUILD_IN_SRC="yes"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-compiler=termux-host"

13
packages/radare2/sdb-make.patch

@ -0,0 +1,13 @@
diff --git a/shlr/Makefile b/shlr/Makefile
index 384ed78..d3bdab1 100644
--- a/shlr/Makefile
+++ b/shlr/Makefile
@@ -103,7 +103,7 @@ ${SDB_TARGETS}:
@echo
$(MAKE) -C sdb clean
$(MAKE) -C sdb src/sdb_version.h
- $(MAKE) -C sdb/src CC=${HOST_CC} CFLAGS='${HOST_CFLAGS} -fPIC' bin
+ $(MAKE) -C sdb/src CC=${HOST_CC} LDFLAGS='${HOST_LDFLAGS}' CPPFLAGS='' CFLAGS='${HOST_CFLAGS} -fPIC' bin
cp -f sdb/src/sdb${BUILD_EXT_EXE} sdb/src/.sdb${BUILD_EXT_EXE}
@echo
@echo ">>>>>>>>>>>>>>>>"
Loading…
Cancel
Save