diff options
Diffstat (limited to '204.psxscl.build')
-rw-r--r-- | 204.psxscl.build | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/204.psxscl.build b/204.psxscl.build new file mode 100644 index 00000000..697ac861 --- /dev/null +++ b/204.psxscl.build @@ -0,0 +1,31 @@ +# Order: dalist ntapi pemagine psxtypes psxscl ntctty + +parse_with_pkg_name ${2} \ + dalist ntapi ntctty pemagine psxscl psxtypes; +if is_build_script_done finished; then + exit 212; +else + fetch_git ${PKG_SUBDIR} ${PKG_URL}; + set_build_dir ${PKG_SUBDIR} cross; +fi; +if ! is_build_script_done configured; then + rm_if_exists -m -c ${BUILD_DIR}; + ../${PKG_SUBDIR}/configure \ + --prefix=${PREFIX_NATIVE} \ + --host=${HOST_NATIVE} \ + --target=${TARGET} \ + --sysroot=/; + set_build_script_done configured -built; +else + cd ${BUILD_DIR}; +fi; +if ! is_build_script_done built; then + make ${MAKEFLAGS}; + set_build_script_done built -installed; +fi; +if ! is_build_script_done installed; then + make ${MAKEFLAGS} install; + set_build_script_done installed finished; +fi; + +# vim:filetype=sh |