2021-05-08 02:45:14 +00:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
port=libphysfs
|
|
|
|
useconfigure=true
|
|
|
|
version=3.0.2
|
|
|
|
workdir="physfs-${version}"
|
2021-09-26 22:16:18 +00:00
|
|
|
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
|
2021-05-08 02:45:14 +00:00
|
|
|
files="https://icculus.org/physfs/downloads/physfs-${version}.tar.bz2 physfs-${version}.tar.bz2 304df76206d633df5360e738b138c94e82ccf086e50ba84f456d3f8432f9f863"
|
|
|
|
auth_type=sha256
|
|
|
|
|
|
|
|
configure() {
|
2021-09-26 22:16:18 +00:00
|
|
|
run cmake "${configopts[@]}"
|
2021-05-08 02:45:14 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
install() {
|
|
|
|
run make install
|
|
|
|
}
|