mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-04 09:14:21 +03:00
23 lines
617 B
Bash
23 lines
617 B
Bash
|
#!/usr/bin/env -S bash ../.port_include.sh
|
||
|
port='libslirp'
|
||
|
version='4.7.0'
|
||
|
workdir="libslirp-v${version}"
|
||
|
files="https://gitlab.freedesktop.org/slirp/libslirp/-/archive/v${version}/libslirp-v${version}.tar.gz libslirp-v${version}.tar.xz 9398f0ec5a581d4e1cd6856b88ae83927e458d643788c3391a39e61b75db3d3b"
|
||
|
auth_type='sha256'
|
||
|
useconfigure='true'
|
||
|
configopts=("--cross-file=${SERENITY_BUILD_DIR}/meson-cross-file.txt")
|
||
|
depends=('glib')
|
||
|
|
||
|
configure() {
|
||
|
run meson _build "${configopts[@]}"
|
||
|
}
|
||
|
|
||
|
build() {
|
||
|
run ninja -C _build
|
||
|
}
|
||
|
|
||
|
install() {
|
||
|
export DESTDIR="${SERENITY_INSTALL_ROOT}"
|
||
|
run meson install -C _build
|
||
|
}
|