diff options
Diffstat (limited to '207.libz.build')
-rw-r--r-- | 207.libz.build | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/207.libz.build b/207.libz.build index 507018dd..a6f48d59 100644 --- a/207.libz.build +++ b/207.libz.build @@ -2,24 +2,24 @@ parse_with_pkg_name ${2} libz gzip; if is_build_script_done finished; then exit 212; else - fetch ${_pkg_url} ${_pkg_sha256sum}; + fetch ${PKG_URL} ${PKG_SHA256SUM}; fi; if ! is_build_script_done extracted; then - rm_if_exists ${_pkg_fname%%.tar*}; - tar -axf ${_pkg_fname}; + rm_if_exists ${PKG_FNAME%%.tar*}; + tar -axf ${PKG_FNAME}; set_build_script_done extracted -configured; fi; if ! is_build_script_done configured; then - set_build_dir ${_pkg_fname%%-*} native; - rm_if_exists -c -m ${_build_dir}; + set_build_dir ${PKG_FNAME%%-*} native; + rm_if_exists -c -m ${BUILD_DIR}; cp ../portage/config.cache .; - ../${_pkg_subdir}/configure \ + ../${PKG_SUBDIR}/configure \ --host=${HOST_NATIVE} \ --prefix= \ --target=${TARGET}; set_build_script_done configured -built; else - cd ${_build_dir}; + cd ${BUILD_DIR}; fi; if ! is_build_script_done built; then if [ "x${2}" = "xlibz" ]; then |