summaryrefslogtreecommitdiff
path: root/Ports/libphysfs/package.sh
blob: 4030a9ac7c08a5db85282254647a1b04d293a83a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
}