2018-04-17 00:20:05 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://lldb.llvm.org
|
2018-04-17 00:22:27 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="LLVM based debugger"
|
2018-07-02 14:17:11 +02:00
|
|
|
TERMUX_PKG_VERSION=6.0.1
|
|
|
|
TERMUX_PKG_SHA256=6b8573841f2f7b60ffab9715c55dceff4f2a44e5a6d590ac189d20e8e7472714
|
2018-04-17 00:22:27 +02:00
|
|
|
TERMUX_PKG_SRCURL=http://releases.llvm.org/${TERMUX_PKG_VERSION}/lldb-$TERMUX_PKG_VERSION.src.tar.xz
|
2018-04-17 00:39:57 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libedit, libllvm, libxml2, ncurses-ui-libs"
|
2018-05-10 02:28:58 +02:00
|
|
|
TERMUX_PKG_BLACKLISTED_ARCHES="i686"
|
2018-04-17 00:22:27 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
-DLLDB_DISABLE_CURSES=0
|
|
|
|
-DLLDB_DISABLE_LIBEDIT=0
|
|
|
|
-DLLDB_DISABLE_PYTHON=1
|
|
|
|
-DLLVM_CONFIG=$TERMUX_PREFIX/bin/llvm-config
|
|
|
|
-DLLVM_ENABLE_TERMINFO=1
|
2018-05-09 01:34:58 +02:00
|
|
|
-DLLVM_LINK_LLVM_DYLIB=ON
|
2018-04-17 00:22:27 +02:00
|
|
|
"
|
|
|
|
|
2018-04-17 00:20:05 +02:00
|
|
|
termux_step_pre_configure() {
|
2018-05-09 01:34:58 +02:00
|
|
|
LDFLAGS+=" -Wl,--exclude-libs=libLLVMSupport.a"
|
2018-04-17 00:20:05 +02:00
|
|
|
}
|
2018-04-17 00:22:27 +02:00
|
|
|
|
2018-04-17 00:20:05 +02:00
|
|
|
termux_step_post_make_install() {
|
|
|
|
cp $TERMUX_PKG_SRCDIR/docs/lldb.1 $TERMUX_PREFIX/share/man/man1
|
|
|
|
}
|