summaryrefslogtreecommitdiffhomepage
path: root/subr/pkgtool_init.subr
AgeCommit message (Collapse)AuthorFilesLines
2020-09-10subr/pkgtool_init.subr:pkgtoolp_init_getopts(): allow overriding ↵Lucio Andrés Illanes Albornoz1-5/+1
${PKGTOOL_PKG_NAME} w/ -s[ -s[..]].
2020-05-30subr/pkgtool_init.subr:pkgtoolp_init_getopts(): correctly set ${BUILD_KIND}.Lucio Andrés Illanes Albornoz1-1/+1
2020-05-11subr/build_init.subr:buildp_init_getopts(): allow mixing non-option ↵Lucio Andrés Illanes Albornoz1-17/+11
arguments w/ options. subr/pkgtool_init.subr:pkgtoolp_init_getopts(): allow mixing non-option arguments w/ options.
2020-05-11subr/pkgtool_init.subr:pkgtoolp_init_getopts(): clarify invalid command line ↵Lucio Andrés Illanes Albornoz1-1/+1
error message.
2020-05-11subr/pkgtool_init.subr:pkgtoolp_init_getopts(): correctly initialise ↵Lucio Andrés Illanes Albornoz1-1/+1
${BUILD_KIND}.
2020-04-10subr/pkgtool_init.subr:pkgtoolp_init_getopts_help(): correctly cat ↵Lucio Andrés Illanes Albornoz1-1/+1
etc/pkgtool.usage given -h option.
2020-03-19subr/{build,pkgtool}_init.subr: minor cleanup.Lucio Andrés Illanes Albornoz1-13/+16
subr/rtl_complex.subr:rtl_{check_prereqs,prompt,rc}(): initial implementation.
2020-03-15Set -o nounset in addition to +o errexit -o nounset.Lucio Andrés Illanes Albornoz1-1/+1
groups/000.host_tools.group:libtool_host:${PKG_LIBTOOL}: build w/ `none'. subr/build_init.subr:buildp_init_getopts(): set ${DEFAULT_BUILD_CPUS} prior to ex_pkg_load_vars() call. subr/pkg_{build,install_make}.subr: only pass `LIBTOOL=${PKG_LIBTOOL}' if set and not `none'. vars/libtool_host.vars: removes obsolete vars file.
2020-03-15General cleanup.Lucio Andrés Illanes Albornoz1-137/+32
2020-03-13subr/pkgtool_init.subr:pkgtoolp_init_prereqs(): trim list of prerequisite ↵Lucio Andrés Illanes Albornoz1-5/+3
command dependencies.
2020-03-13Implements ./pkgtool.sh -[irt] options.Lucio Andrés Illanes Albornoz1-18/+107
etc/{README.md,pkgtool.usage}: updated. subr/ex_pkg.subr:ex_pkg_{find_package,get_packages}(): initial implementation. subr/ex_pkg.subr:ex_pkg_unfold_{,r}depends(): split from ex_pkg_expand_packages(). subr/ex_pkg{,_dispatch}.subr: removes ${EX_PKG_COMPLETE} scoped global. subr/ex_pkg_dispatch.subr:exp_pkg_dispatch_expand_packages(): split from subr/ex_pkg.subr. subr/rtl_list.subr:rtl_lsort(): initial implementation.
2020-03-11Initial implementation of pkgtool.sh.Lucio Andrés Illanes Albornoz1-0/+133
build.sh:build(): move cd(1) to $(dirname "${0}"). etc/{build.usage,README.md}: updated. midipix.env:${DEFAULT_CLEAR_ENV_VARS_EXCEPT}: allow inheriting ARCH, BUILD, BUILD_DLCACHEDIR, BUILD_WORKDIR, and PREFIX* from the environment. pkgtool.sh: initial implementation. subr/build_init.subr:buildp_init_defaults(): allow inheriting ARCH, BUILD, BUILD_DLCACHEDIR, BUILD_WORKDIR, and PREFIX* from the environment. subr/build_init.subr:buildp_init_env(): move cd(1) to $(dirname "${0}"). subr/build_init.subr:buildp_init_files(): correctly pass ${_status} from rtl_check_path_vars(). subr/ex_pkg_exec.subr:ex_pkg_exec(): dump subset of variables and exported variables on build failure and --dump-on-abort. subr/pkgtool_init.subr: adapted from subr/build_init.subr. subr/rtl_complex.subr:rtl_filter_vars(): initial implementation. subr/rtl_string.subr:rtl_subst(): initial implementation.