summaryrefslogtreecommitdiffhomepage
path: root/subr
AgeCommit message (Collapse)AuthorFilesLines
2017-11-21subr/pre_subdirs.subr: create ${PREFIX}/lib64 -> lib symlink.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+1
2017-11-21vars/libfirm.vars: correctly install to & reference ${PKG_DESTDIR}.Lucio Andrés Illanes Albornoz (arab, vxp)1-9/+8
subr/pkg_install_subdirs.subr: fix ${PKG_DESTDIR} reference.
2017-11-21subr/pkg_*.subr, vars/{apr,git}.vars: supply & reference ${PKG_DESTDIR}.Lucio Andrés Illanes Albornoz (arab, vxp)8-19/+22
2017-11-21build.sh, subr/{build,pre_state}.subr: split.Lucio Andrés Illanes Albornoz (arab, vxp)2-25/+31
2017-11-21{build.sh,subr/pre_setup_args.subr}: split.Lucio Andrés Illanes Albornoz (arab, vxp)2-4/+68
subr/pre_setup_env.subr: set -o noglob.
2017-11-21subr/pkg_setup_dispatch.subr: fix permissions.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+0
2017-11-21{build.sh,subr/pkg_setup_dispatch.subr}: split.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+67
2017-11-21subr/pkg_setup_distclean.subr: rm(1) ${PKG_BASE_DIR} on-demand.Lucio Andrés Illanes Albornoz (arab, vxp)3-2/+22
etc/build.usage: updated. subr/pkg_setup_{env,subdirs}.subr: split {cd,mkdir}(1) sequence into setup_env_subdirs. vars/env.vars: adds setup_distclean:variant & setup_subdirs:invariant build steps.
2017-11-21vars/build.vars: wake up disabled packages.Lucio Andrés Illanes Albornoz (arab, vxp)2-7/+23
vars/env.vars: fix ${DEFAULT_BUILD_CPUS} reference. vars/{gcc,libfirm,psxstub}.vars: fix ${PKG_MAKEFLAGS_BUILD} reference. vars/git.vars:pkg_git_install_post(): process files in destdir. subr/pkg_install_libs.subr:pkgp_install_lib_link(): ln(1) w/ target's basename. subr/pkg_install_libs.subr:pkg_install_libs(): sanity-check filenames. subr/pkg_setup_env.subr:pkg_setup_env(): rm(1) ${PKG_BASE_DIR} during -r. etc/build.usage: updated.
2017-11-21subr/pkg_setup_env.subr:pkg_setup_env(): correctly check for presence of ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
package build subroutine. vars/dist_{etc,digest,tarballs}.vars: renamed from vars/*.subr & fixed.
2017-11-21Refactors build steps along the sequence {setup,fetch,configure,build,install}.Lucio Andrés Illanes Albornoz (arab, vxp)33-656/+404
subr/mode_check_updates.subr: seperated into check_updates.sh. subr/post_{copy_etc,sha256sums,tarballs}.subr: absorbed into `dist' target.
2017-11-20subr/pkg_{autoconf,configure,patch}.subr: reference ${PKG_BASE_DIR} instead ↵Lucio Andrés Illanes Albornoz (arab, vxp)14-87/+84
of ${WORKDIR}. subr/pkg_build_dir.subr: {build,install} packages nested within ${PKG_BUILD_DIR}/. subr/pkg_distclean.subr: removed from repository. subr/pkg_{extract,fetch}.subr: {extract,fetch} within ${PKG_BASE_DIR}. subr/pkg_install.subr: install to ../destdir to facilitate post-installation processing. subr/pkg_setup_env.subr: set & create ${PKG_BASE_DIR}. subr/pre_subdirs.subr: always create ${PREFIX}/bin. vars/build.vars: consistently use ${PKG_{PREFIX,MAKE_INSTALL_VNAME,MAKEFLAGS_INSTALL}}. vars/env.vars, *: cleanup.
2017-11-20vars/{build,env}.vars: diet, pt. II.Lucio Andrés Illanes Albornoz (arab, vxp)12-107/+148
vars/build.vars: install w/ `DESTDIR=<prefix> PREFIX= prefix=' by default. vars/build.vars:cmake: build w/ -g0 -O2. vars/cmake.vars: build using cmake_host. vars/pkgconf_host.vars: remove & don't install ${PREFIX}/bin/pkg-config link to avoid confusing host packages. vars/{apr_util,chainport}.vars: replaced w/ corresponding ${PKG_BUILD_STEPS}. patches/perl-5.22.1.local.patch: pass -L. -lperl when linking. patches/smallbasic.local.patch: don't call pcre-config. subr/pkg_autoconf.subr, vars/{lib{caca,udns},toilet}.vars: always install config.sub after bootstrap. subr/pkg_disabled.subr: always silently finish disabled packages. subr/pkg_setup_{env,vars}.subr: split. subr/pkg_{build,install}.subr: always pass LIBTOOL=${PKG_SLIBTOOL:=slibtool}. subr/pkg_{{build,work}_dir,extract,setup_env}.subr: infer ${PKG_BUILD_DIR} from ${PKG_SUBDIR} given the absence of configure{,.{ac,in}}.
2017-11-19vars/build.vars, subr/pkg_setup_env.subr: automatically infer ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+8
${PKG_{SUB,BUILD_}DIR} from ${PKG_URLS_GIT}.
2017-11-19subr/pkg_install.subr:pkgp_install_dlltool(): va-yehi ken.Lucio Andrés Illanes Albornoz (arab, vxp)2-23/+47
subr/build.subr:build_fileop(): include -L when testing pathnames for existence. vars/build.vars: adds `host_packages' target comprised of all host packages. vars/build.vars:lib_packages: adds w32lib (via Redfoxmoon.)
2017-10-29subr/pkg_install.subr:pkgp_install_dlltool(): restrict find(1) to ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+3
*.so.[0-9]*, etc. pp.
2017-10-29subr/pkg_install.subr:pkgp_install_dlltool(): pass basename of ${_so_fname} ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+2
to ${PKG_TARGET}-mdso (via midipix.) subr/pkg_install.subr:pkgp_install_dlltool(): don't skip ${_so_fname} even if -e ${PKG_PREFIX}/lib/${_so_fname##*/}.
2017-10-28subr/pkg_install.subr:pkgp_install_dlltool(): skip library archives already ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+2
present.
2017-10-28subr/pkg_install.subr:pkgp_install_dlltool(): fix typo.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-10-27subr/pkg_install.subr:pkgp_install_dlltool(): don't pass -printf to find(1) ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+3
and correctly check for the existence of the target library archive.
2017-10-26subr/pkg_install.subr:pkgp_install_dlltool(): generate library archives via ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-16/+19
{perk,mdso} (via midipix.) subr/pkg_install.subr:pkgp_install_dlltool(): correctly infer {so,lib} file names.
2017-10-25vars/build.vars:ldso_host: force non-host build-type for non-host package.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+1
vars/build.vars:ldso: correctly symlink ${TARGET}/lib/libldso.a. subr/pre_subdirs.subr:pre_subdirs(): mkdir ${PREFIX_NATIVE}/${TARGET}/lib.
2017-10-25subr/pre_subdirs.subr:pre_subdirs(): correctly mkdir ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+2
${PREFIX}/${TARGET}/{bin,lib}/.
2017-10-25vars/build.vars: build mdso_host prior to toolchain and {psxtypes,ldso}_host ↵Lucio Andrés Illanes Albornoz2-4/+14
prior to the runtime components. vars/build.vars:mdso{,_host}: additionally install mdso to ${TARGET}/bin/mdso. vars/build.vars:ldso_host: additionally install libldso.a to ${PREFIX}/lib/libldso.a. vars/build.vars:ldso: additionally install libldso.a to ${TARGET}/lib/libldso.a. vars/build.vars:python3: pass -mout-dsolib vs. -mout-implib in ${BLDSHARED} (via midipix.) subr/build.subr:install_files(): fix -v flag & only prepend ${_prefix} w/ relative pathnames during {ln,mkdir,cp}. subr/pre_subdirs.subr:pre_subdirs(): mkdir ${PREFIX_TARGET}/bin. vars/gcc.vars:pkgp_gcc_setup_env(): pass -midata in ${GCCTARGET_FLAGS} (via midipix.)
2017-10-04vars/build.vars: adds `dev_packages' target and `dev' meta-target comprising ↵Lucio Andrés Illanes Albornoz1-0/+2
devroot and the former. build.sh, subr/build.subr: adds `dev' meta-target.
2017-09-13vars/build.vars: adds ruby_host v2.3.0 in order to cross-compile ruby v2.3.0 ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+5
across platforms. subr/pkg_autoconf.subr: skip cp(1)ing etc/config.cache when ${PKG_BUILD_TYPE} is host.
2017-09-06subr/pkg_{install_pre,strip}.subr: always check for -e ${...}.Lucio Andrés Illanes Albornoz2-3/+6
2017-09-06build.sh, subr/{post_strip,pkg_{install_pre,strip}.subr: strip(1) after ↵Lucio Andrés Illanes Albornoz3-27/+52
install for each package to save disk space. vars/build.vars, vars/install_....vars: install coreutils_flavour_minipix w/ newly added ${TARGET}-install-strip to save disk space.
2017-06-06build.sh, etc/build.usage: adds --debug-minipix: override default behaviour ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-6/+16
of strip(1)ping minipix/bin/*. subr/post_strip.subr: strip(1) minipix/bin/* unless --debug-minipix was specified (via midipix.) vars/build.vars: adds `minipix' target individually and as part of `world' encompassing all minipix-flavoured packages.
2017-06-01build.sh, subr/pre_build_files.subr: log list of failed build scripts when ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+1
using relaxed mode (-R).
2017-05-30build.sh, etc/build.usage: adds -[46]: force IPv[46] when downloading.Lucio Andrés Illanes Albornoz (arab, vxp)1-0/+5
subr/pre_setup_env.subr: prepend -4 or -6 to ${WGET_ARGS} when -[46] was specified.
2017-03-10subr/pkg_setup_env.subr: log all environment variables set for a given package.Lucio Andrés Illanes Albornoz (arab, vxp)1-15/+13
2017-03-08subr/pkg_setup_env.subr: don't log variables for flavoured packages when ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-5/+10
building an unflavoured package.
2017-03-08vars/build.vars: fixes mtr.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
subr/pkg_autoconf.subr: include `bootstrap.sh' in the list of pre-autoconf scripts to run. patches/mtr.midipix.patch: fix incorrect name.
2017-03-08subr/pkg_install.subr: don't perk shared objects that are symlinks to /dev/null.Lucio Andrés Illanes Albornoz (arab, vxp)1-2/+2
2017-02-16subr/pkg_patch.subr: {,un}set noglob correctly, don't apply the same patch ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-4/+6
multiple times. vars/build.vars: override ${PKG_BZIP2_INSTALL_FILES} for bzip2_flavour_minipix.
2017-02-16subr/pkg_patch.subr: fix heuristic.Lucio Andrés Illanes Albornoz (arab, vxp)1-11/+11
2017-02-16subr/pkg_patch.subr: ensure parent package patches are applied for flavoured ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-12/+14
packages. vars/build.vars: flavours bzip2, gzip, tar, and xz for minipix. vars/ncursesw.vars: skip minipix post-install step.
2017-02-15build.sh: set ${PKG_NAME_PARENT} for `flavoured' packages.Lucio Andrés Illanes Albornoz (arab, vxp)2-9/+24
subr/build.subr: fix bug in log_env_vars(). subr/pkg_setup_env.subr: inherit and log variables from parent packages when processing `flavoured' packages. vars/build.vars: replaces minipix packages w/ {bash,coreutils}_flavour_minipix, which are statically linked and installed to ${PREFIX_MINIPIX}. vars/musl.vars: don't install libc.so to ${PREFIX_MINIPIX}/lib.
2017-02-13patches/qpdf-6.0.0.local.patch, vars/build.vars: adds qpdf v6.0.0.Lucio Andrés Illanes Albornoz (arab, vxp)2-0/+2
subr/pkg_configure.subr: explictly pass ${CPPFLAGS}. subr/pkg_setup_env.subr: explicitly set ${LIBTOOL} if ${PKG_SLIBTOOL} is st.
2017-02-11vars/build.vars, patches/*: adds geoip (HEAD) and OpenLiteSpeed v1.4.24 ↵Lucio Andrés Illanes Albornoz (arab, vxp)3-18/+22
(preliminary commit.) subr/pkg_autoconf.subr: try either of ${WORKDIR}/${PKG_SUBDIR}/{bootstrap,autogen.sh}. subr/pkg_configure.subr: pass ${CXXFLAGS} as well as ${CFLAGS} during ./configure. subr/pkg_setup_env.subr: fix ${PKG_SUBDIR} inference when ${PKG_FNAME} does not end w/ .tar*.
2017-02-09subr/pkg_install.subr: force exec_prefix=${prefix} if unset in pkg-config ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-3/+2
files (.pc) prior to installing.
2017-02-09subr/pkg_install.subr: force ${exec_prefix} as prefix in libdir variable ↵Lucio Andrés Illanes Albornoz (arab, vxp)1-9/+23
inside pkg-config files (.pc) prior to installing.
2017-02-08subr/post_tarballs.subr: fix toolchain tarball generation.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-02-06build.sh: always build all steps for packages in the `INVARIANTS' target.Lucio Andrés Illanes Albornoz (arab, vxp)1-4/+5
subr/post_sha256sums.subr: use relative pathnames in SHA256SUMS.
2017-02-06subr/post_sha256sums.subr: fix find(1) command line.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+3
2017-02-06build.sh: call post_sha256sums() before calling post_tarballs().Lucio Andrés Illanes Albornoz (arab, vxp)2-25/+28
subr/post_sha256sums.subr: compute SHA256SUMs only if !${BUILD_SCRIPT_RC} && ${ARG_TARBALL}. subr/post_tarballs.subr: cleanup; include SHA256SUMS in dist tarball.
2017-02-06subr/post_sha256sums.subr: fix find(1) command line.Lucio Andrés Illanes Albornoz (arab, vxp)1-1/+1
2017-02-06build.sh, {subr,vars}/*: general cleanup.Lucio Andrés Illanes Albornoz (arab, vxp)12-90/+92
2017-02-06build.sh, {subr,vars}/*: general cleanup.Lucio Andrés Illanes Albornoz (arab, vxp)9-102/+89