diff options
Diffstat (limited to 'packages/physfs.sh')
-rwxr-xr-x | packages/physfs.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/physfs.sh b/packages/physfs.sh new file mode 100755 index 0000000..d32d303 --- /dev/null +++ b/packages/physfs.sh @@ -0,0 +1,21 @@ +#!/bin/bash + +function package_build { + run_hg_switch_branch stable-2.0 + run_cmake + + run_make + run_make_install +} + +function package_get_source { + run_hg_clone https://hg.icculus.org/icculus/physfs/ +} + +function package_use { + env_path "bin" + env_path "lib" + env_path "include" + env_lib_library_path "lib" + env_pkg_config_path "lib/pkgconfig" +} |