2023-03-12 00:01:19 +03:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
port='backward-cpp'
|
2023-07-02 05:11:27 +03:00
|
|
|
version='65a769f'
|
2023-07-10 14:10:29 +03:00
|
|
|
files=(
|
|
|
|
"https://github.com/bombela/backward-cpp/tarball/65a769ffe77cf9d759d801bc792ac56af8e911a3 backward-cpp-${version}.tar.gz 233271162bf09ce7c41026416e5d6f59a66f42f83c3ea370f110980ac219144a"
|
|
|
|
)
|
2023-07-02 05:11:27 +03:00
|
|
|
workdir="bombela-backward-cpp-${version}"
|
2023-03-12 00:01:19 +03:00
|
|
|
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
|
|
|
|
}
|