28 lines
718 B
Plaintext
28 lines
718 B
Plaintext
# Description: LLDB is a next generation, high-performance debugger
|
|
# URL: https://lldb.llvm.org/
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: clang python3-six swig
|
|
|
|
name=lldb
|
|
version=10.0.0
|
|
release=2
|
|
source=(https://github.com/llvm/llvm-project/releases/download/llvmorg-$version/lldb-$version.src.tar.xz)
|
|
|
|
build() {
|
|
cd $name-$version.src
|
|
mkdir build
|
|
cd build
|
|
cmake .. \
|
|
-GNinja \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DLLVM_LINK_LLVM_DYLIB=ON \
|
|
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
|
|
-DLLDB_USE_SYSTEM_SIX=1
|
|
ninja
|
|
DESTDIR=$PKG ninja install
|
|
python3 -m compileall $PKG
|
|
python3 -O -m compileall $PKG
|
|
python3 -OO -m compileall $PKG
|
|
}
|