summaryrefslogtreecommitdiff
path: root/packages/physfs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/physfs.sh')
-rw-r--r--[-rwxr-xr-x]packages/physfs.sh26
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"