diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-01-28 04:59:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-01-28 04:59:51 +0300 |
commit | 7b5ef3419de853d852c887b50a8427532b4979f4 (patch) | |
tree | dcd35e1eb0e762e475bf34c51f6ec810c2eaa9aa /packages/physfs.sh | |
parent | dd8d1e42f08740c24f66a55be58b1030f2bf5158 (diff) | |
parent | 925f362b0374d78c755185b2f4d3ecef87b5db7b (diff) | |
download | spm-7b5ef3419de853d852c887b50a8427532b4979f4.tar.gz spm-7b5ef3419de853d852c887b50a8427532b4979f4.tar.bz2 spm-7b5ef3419de853d852c887b50a8427532b4979f4.tar.xz spm-7b5ef3419de853d852c887b50a8427532b4979f4.zip |
Merge branch 'master' into zlib
Diffstat (limited to 'packages/physfs.sh')
-rw-r--r--[-rwxr-xr-x] | packages/physfs.sh | 26 |
1 files changed, 7 insertions, 19 deletions
diff --git a/packages/physfs.sh b/packages/physfs.sh index d32d303..9addbb0 100755..100644 --- a/packages/physfs.sh +++ b/packages/physfs.sh @@ -1,21 +1,9 @@ -#!/bin/bash +SRCTYPE=hg +SRCURL=https://hg.icculus.org/icculus/physfs/ +DEFAULT_BRANCH="stable-2.0" -function package_build { - run_hg_switch_branch stable-2.0 - run_cmake +ENV_PATH="bin:lib:include" +ENV_LD_LIBRARY_PATH="lib" +ENV_PKG_CONFIG_PATH="lib/pkgconfig" - 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" -} +BUILD_TYPE="cmake" |