diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-24 00:05:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-24 00:05:53 +0300 |
commit | 65ddf15dfbb4bba0b9fb7ca18aa922eeaed11d2a (patch) | |
tree | 09bfbe176dc56aa661ce93c2e48e0c3b542e4b1c /packages/physfs.sh | |
download | spm-65ddf15dfbb4bba0b9fb7ca18aa922eeaed11d2a.tar.gz spm-65ddf15dfbb4bba0b9fb7ca18aa922eeaed11d2a.tar.bz2 spm-65ddf15dfbb4bba0b9fb7ca18aa922eeaed11d2a.tar.xz spm-65ddf15dfbb4bba0b9fb7ca18aa922eeaed11d2a.zip |
Initial commit.
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" +} |