1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 03:07:44 +00:00

Ports: Add port for libphysfs

This commit is contained in:
Gunnar Beutner 2021-05-08 04:45:14 +02:00 committed by Andreas Kling
parent 6afb6eb6a9
commit 5093b76f85
2 changed files with 17 additions and 0 deletions

16
Ports/libphysfs/package.sh Executable file
View file

@ -0,0 +1,16 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=libphysfs
useconfigure=true
version=3.0.2
workdir="physfs-${version}"
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_SOURCE_DIR/Toolchain/CMake/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
}