mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:37:44 +00:00
Ports: Add port of backward-cpp, a pretty backtrace library
This commit is contained in:
parent
e690b35fdc
commit
3219ecbdc0
5 changed files with 127 additions and 0 deletions
23
Ports/backward-cpp/package.sh
Executable file
23
Ports/backward-cpp/package.sh
Executable file
|
@ -0,0 +1,23 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port='backward-cpp'
|
||||
version='1.6'
|
||||
files="https://github.com/bombela/backward-cpp/archive/refs/tags/v${version}.tar.gz backward-cpp-${version}.tar.gz c654d0923d43f1cea23d086729673498e4741fb2457e806cfaeaea7b20c97c10"
|
||||
auth_type='sha256'
|
||||
useconfigure='true'
|
||||
configopts=(
|
||||
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
|
||||
)
|
||||
depends=(
|
||||
'binutils'
|
||||
'zlib'
|
||||
)
|
||||
|
||||
configure() {
|
||||
run cmake "${configopts[@]}"
|
||||
}
|
||||
|
||||
install() {
|
||||
run make install
|
||||
run mkdir -p ${SERENITY_INSTALL_ROOT}/usr/local/bin/backtrace_tests
|
||||
run_nocd cp -r ${workdir}/test_* ${SERENITY_INSTALL_ROOT}/usr/local/bin/backtrace_tests
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue