diff options
Diffstat (limited to 'vars/psxstub.vars')
-rw-r--r-- | vars/psxstub.vars | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/vars/psxstub.vars b/vars/psxstub.vars index a476bd15..fcf018cd 100644 --- a/vars/psxstub.vars +++ b/vars/psxstub.vars @@ -1,18 +1,14 @@ # -# . ./build.vars and set -o errexit -o noglob are assumed. +# set -o errexit -o noglob are assumed. # -pkg_psxstub_all() { - pkg_fetch; - if ! is_build_script_done install; then - if [ "${TARGET}" = i686-nt32-midipix ] \ - || [ "${TARGET}" = x86_64-nt64-midipix ]; then - build_fileop cd psxstub; - make ${MAKEFLAGS} DESTDIR=${PKG_PREFIX} TARGET=${TARGET} install; - if [ -e ${PKG_PREFIX}/lib/libpsxscl.a ]; then - build_fileop rm ${PKG_PREFIX}/lib/libpsxscl.a; - fi; - set_build_script_done install finish; +pkg_psxstub_install() { + if [ "${TARGET}" = i686-nt32-midipix ] \ + || [ "${TARGET}" = x86_64-nt64-midipix ]; then + build_fileop cd psxstub; + make ${MAKEFLAGS} DESTDIR=${PKG_PREFIX} TARGET=${TARGET} install; + if [ -e ${PKG_PREFIX}/lib/libpsxscl.a ]; then + build_fileop rm ${PKG_PREFIX}/lib/libpsxscl.a; fi; fi; }; |