summaryrefslogtreecommitdiffhomepage
path: root/subr/ex_pkg_env.subr
AgeCommit message (Collapse)AuthorFilesLines
2020-05-15Optionally install ${PKG_DESTDIR_HOST} into ${PREFIX}.Lucio Andrés Illanes Albornoz1-0/+1
vars/libxslt.vars:pkg_libxslt_install_make_post(): install ${PREFIX}/bin/xslt-config into ${PKG_DESTDIR_HOST}/bin.
2020-04-29Designate {debug,release} build as build kind.Lucio Andrés Illanes Albornoz1-2/+2
etc/{{build,pkgtool}.usage,README.md}: updated.
2020-04-29subr/ex_pkg_env.subr:exp_pkg_env_set(): additionally set from package name ↵Lucio Andrés Illanes Albornoz1-2/+2
prefix plus {debug,release} build.
2020-03-26subr/ex_pkg_env.subr:exp_pkg_env_set(): correctly join NL-separated package ↵Lucio Andrés Illanes Albornoz1-7/+7
variable names before passing to rtl_set_vars().
2020-03-24subr/{ex_pkg_env,pkg_install,rtl_list}.subr: reference ${IFS} w/ explicit ↵Lucio Andrés Illanes Albornoz1-1/+1
default value (via midipix.)
2020-03-15Set -o nounset in addition to +o errexit -o nounset.Lucio Andrés Illanes Albornoz1-9/+15
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-3/+3
2020-03-13Implements ./pkgtool.sh -[irt] options.Lucio Andrés Illanes Albornoz1-10/+15
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-12Reduce awk(1), grep(1), seq(1), and stat(1) usage.Lucio Andrés Illanes Albornoz1-6/+8
subr/build_init.subr:buildp_init_files(): replace timestamp w/ running total log filename suffix. subr/build_init.subr:buildp_init_prereqs(): ensure sed(1) supports -i option. subr/rtl_complex.subr:rtl_{get_cpu_count,is_newer}(): initial implementation. subr/rtl_string.subr:rtl_match(): initial implementation.
2020-03-01General cleanup, pt. III.Lucio Andrés Illanes Albornoz1-1/+1
dist/dist_digest.dist: removes obsolete dist file. etc/{build.usage,README.md}: updated. groups/000.host_tools.group:{autoconf,automake,gettext_tiny,install_strip,libtool,m4}_host: moved from groups/010.host_deps.group. groups/221.native_packages_dev.group:lua: moved from groups/231.native_packages_etc.group. groups/221.native_packages_dev.group:lua:${PKG_FORCE_AUTORECONF}: set. groups/231.native_packages_etc.group:{mlogin,tdnf}:${PKG_FORCE_AUTORECONF}: set. groups/241.native_packages_inet.group:nullmailer:${PKG_FORCE_AUTORECONF}: set. groups/251.native_packages_lib.group:lib{asr,gpg_error}:${PKG_FORCE_AUTORECONF}: set. midipix.env, etc/README.md, subr/pkg_configure_autotools.subr: adds FORCE_NO_AUTORECONF. subr/rtl_fileop.subr: adds ch{mod,own} fileops. vars/{check_updates,jamvm,lib{asr,gpg_error},lua,mlogin,tdnf}.vars: removes obsolete vars file.
2020-02-29subr/ex_pkg_env.subr:exp_pkg_env_set(): reduce hard-wiring.Lucio Andrés Illanes Albornoz1-7/+3
2020-02-29Refactors dist packages into groups/999.dist.group and dist/dist_*.dist.Lucio Andrés Illanes Albornoz1-1/+5
build.sh:buildp_dispatch_pkg_state(): fix `missing_pkg' log message. subr/ex_pkg_env.subr:exp_pkg_env_set(): source from "dist/${_pkg_name}.dist" given `dist' group.
2020-02-26General cleanup, pt. II.Lucio Andrés Illanes Albornoz1-25/+32
2020-02-25General cleanup, pt. I.Lucio Andrés Illanes Albornoz1-41/+82
2020-02-11Implements package-package dependencies.Lucio Andrés Illanes Albornoz1-3/+3
2020-02-09Rename build targets to build groups to avoid confusion w/ target architectures.Lucio Andrés Illanes Albornoz1-17/+17
2019-10-12subr/build_init.subr: don't set ${LD_LIBRARY_PATH}.Lucio Andrés Illanes Albornoz1-3/+0
subr/ex_pkg_env.subr: don't unset ${LD_LIBRARY_PATH} given build target host_packages_deps. vars/libsolv.vars: don't unset ${LD_LIBRARY_PATH}.
2019-10-11subr/ex_pkg_env.subr:exp_pkg_env_source(): unset ${LD_LIBRARY_PATH} given ↵Lucio Andrés Illanes Albornoz1-0/+3
build target host_packages_deps. vars/ncurses{,tw}_host.vars: removed.
2018-04-30Correctly (zero-)initialise all locals.Lucio Andrés Illanes Albornoz1-3/+3
2017-12-04subr/{ex_{pkg_{env,exec},rtl_fetch},pkg_install_pkgconfig}.subr: remove ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
trailing SP/VT.
2017-12-03vars/build.vars:*_minipix: fixed.Lucio Andrés Illanes Albornoz (arab, vxp)1-10/+16
patches/{bash,bzip2,coreutils}_minipix-*.patch: linked. subr/ex_pkg_env.subr, var/env.vars: replaces flavours mechanism w/ non-recursive per-package ${PKG_INHERIT_FROM}. subr/pkg_configure_patch.subr: remove ${PKG_NAME_PARENT} bits. vars/{bash,xz}_minipix.vars: added/linked.
2017-12-03Separate front end (build.sh, subr/build_*) from dispatcher.Lucio Andrés Illanes Albornoz (arab, vxp)1-58/+56
2017-11-28vars/build.vars: remove ${ENV_VARS_EXTRA} hacks in favour of ${PKG{,_}CONFIG}.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+5
subr/ex_pkg_env.subr: export ${PKG{,_}CONFIG} and ${PKG_CONFIG_LIBDIR} during non-host builds.
2017-11-27subr/ex_{pkg_env.rtl}.subr: fix ${PKG_ENV_VARS_EXTRA} processing.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+3
2017-11-22subr/ex_pkg_{dispatch,env}.subr: move ${PKG_DISABLED} check.Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+0
2017-11-22subr/ex_pkg_{dispatch,steps}.subr: split.Lucio Andrés Illanes Albornoz (arab, vxp)1-43/+56
subr/ex_pkg_{env,vars}.subr: moved checks.
2017-11-22build.sh, subr/ex_pkg_dispatch.subr: splits build logging and job control logic.Lucio Andrés Illanes Albornoz (arab, vxp)1-49/+39
subr/ex_pkg_dispatch.subr: dispatch background jobs w/ redirected std{err,out} & FIFO. subr/ex_pkg_state.subr:ex_pkg_state_init(): trap(1) signals to abort build. vars/{gcc,musl}.vars: don't exit(1) from within package subroutine.
2017-11-22subr/ex_pkg_env.subr: explicitly export ${PKG_CONFIG} when building non-host ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-5/+6
packages.
2017-11-22patches/*, subr/pkg_configure_patch{,_pre}.subr: only match against package ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
{name,version}. subr/pkg_configure_patch.subr: remove `_host' package name postfix when searching for chainport patches. subr/ex_pkg_env.subr: fix typo.
2017-11-22subr/*: reorganised as {ex{,_{pkg,rtl,setup}},pkg}_*.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+63