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"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="NCSA"
|
2019-03-21 05:42:58 +01:00
|
|
|
TERMUX_PKG_VERSION=8.0.0
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_REVISION=2
|
2018-08-22 16:43:24 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://releases.llvm.org/${TERMUX_PKG_VERSION}/lldb-$TERMUX_PKG_VERSION.src.tar.xz
|
2019-06-19 20:45:54 +02:00
|
|
|
TERMUX_PKG_SHA256=49918b9f09816554a20ac44c5f85a32dc0a7a00759b3259e78064d674eac0373
|
|
|
|
TERMUX_PKG_DEPENDS="libc++, libedit, libllvm, libxml2, ncurses-ui-libs"
|
2019-07-20 10:42:33 +02:00
|
|
|
TERMUX_PKG_BREAKS="lldb-dev"
|
|
|
|
TERMUX_PKG_REPLACES="lldb-dev"
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_HAS_DEBUG=false
|
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
|
|
|
"
|
|
|
|
|
2019-08-04 13:31:57 +02:00
|
|
|
# Can't be compiled for x86_64 due to 'llvm-tblgen' error.
|
|
|
|
TERMUX_PKG_BLACKLISTED_ARCHES="x86_64"
|
|
|
|
|
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
|
|
|
|
}
|