mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 17:31:58 -05:00
90a46cdc98
This is essentially the de facto way to interface with FUSE, and as such, pretty much every port that uses FUSE in any way will depend on this. Of all the examples that we compile, 'hello', 'hello_ll' and 'passthrough' have been verified to work.
24 lines
558 B
Bash
Executable file
24 lines
558 B
Bash
Executable file
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port='libfuse'
|
|
version='3.16.2'
|
|
files=(
|
|
"https://github.com/libfuse/libfuse/releases/download/fuse-${version}/fuse-${version}.tar.gz#f797055d9296b275e981f5f62d4e32e089614fc253d1ef2985851025b8a0ce87"
|
|
)
|
|
useconfigure='true'
|
|
configopts=(
|
|
"--cross-file=${SERENITY_BUILD_DIR}/meson-cross-file.txt"
|
|
)
|
|
workdir="fuse-${version}"
|
|
|
|
configure() {
|
|
run meson _build "${configopts[@]}"
|
|
}
|
|
|
|
build() {
|
|
run ninja -C _build
|
|
}
|
|
|
|
install() {
|
|
export DESTDIR="${SERENITY_INSTALL_ROOT}"
|
|
run meson install -C _build
|
|
}
|