1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-09 04:44:24 +00:00
serenity/Ports/libfuse/package.sh
implicitfield 90a46cdc98 Ports: Add libfuse
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.
2024-05-14 22:30:39 +02:00

25 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
}