summaryrefslogblamecommitdiff
path: root/packages/physfs.sh
blob: d32d303c96f81fd18697f99d1e1e657b3a947d72 (plain) (tree)




















                                                       
#!/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"
}