mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-28 13:43:45 +03:00
c07f91474d
We may need entries with spaces in makeopts, installopts, and configopts, and at that point we should also convert depends and auth_opts to avoid confusion.
17 lines
462 B
Bash
Executable File
17 lines
462 B
Bash
Executable File
#!/usr/bin/env -S bash ../.port_include.sh
|
|
port=libphysfs
|
|
useconfigure=true
|
|
version=3.0.2
|
|
workdir="physfs-${version}"
|
|
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
|
|
files="https://icculus.org/physfs/downloads/physfs-${version}.tar.bz2 physfs-${version}.tar.bz2 304df76206d633df5360e738b138c94e82ccf086e50ba84f456d3f8432f9f863"
|
|
auth_type=sha256
|
|
|
|
configure() {
|
|
run cmake "${configopts[@]}"
|
|
}
|
|
|
|
install() {
|
|
run make install
|
|
}
|