summaryrefslogtreecommitdiff
path: root/packages/physfs.sh
blob: 213e9cb24a73b6972a2c6ece47ea27f1f783671e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

SRCTYPE=hg
SRCURL=https://hg.icculus.org/icculus/physfs/
DEFAULT_BRANCH="stable-2.0"

ENV_PATH="bin:lib:include"
ENV_LD_LIBRARY_PATH="lib"
ENV_PKG_CONFIG_PATH="lib/pkgconfig"

BUILD_TYPE="cmake"

function package_build {
    run_switch_branch
    run_cmake

    run_make
    run_make_install
}