bf1a83
#
bf1a83
# Copyright (c) 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023 LucĂ­a Andrea Illanes Albornoz <lucia@luciaillanes.de>
bf1a83
#
bf1a83
# WARNING: Do _NOT_ use whitespaces (` ') or tab (`	')
bf1a83
# characters in any of the variables below save for MAKEFLAGS,
bf1a83
# PATH, and TIMESTAMP_FMT.
bf1a83
#
bf1a83
# ${PREFIX_{CROSS,MINGW32,MINIPIX,NATIVE,RPM}} and ${BUILD_WORKDIR}
bf1a83
# must be immediately beneath ${PREFIX}. ${PREFIX} must be o+rwx.
bf1a83
# The variables mentioned should not be forward slash-terminated.
bf1a83
#
bf1a83
bf1a83
#
bf1a83
# Path & variable names and URLs
bf1a83
: ${PREFIX_ROOT:="${HOME}/midipix"};
bf1a83
: ${PREFIX:="${PREFIX_ROOT}/${ARCH}/${BUILD_KIND}"};
bf1a83
: ${PREFIX_CROSS:="${PREFIX}/${DEFAULT_TARGET}"};
bf1a83
: ${PREFIX_MINGW32:="${PREFIX}/x86_64-w64-mingw32"};
bf1a83
: ${PREFIX_MINIPIX:="${PREFIX}/minipix"};
bf1a83
: ${PREFIX_NATIVE:="${PREFIX}/native"};
bf1a83
: ${PREFIX_RPM:="${PREFIX}/rpm"};
bf1a83
: ${BUILD_DLCACHEDIR:="${PREFIX_ROOT}/dlcache"};
bf1a83
: ${BUILD_WORKDIR:="${PREFIX}/tmp"};
bf1a83
: ${DEFAULT_CHECK_PATH_VARS:="PREFIX PREFIX_NATIVE PREFIX_CROSS BUILD_DLCACHEDIR BUILD_WORKDIR"};
bf1a83
: ${DEFAULT_CLEAR_ENV_VARS_EXCEPT:="									\
bf1a83
	HOME PATH TERM USER										\
bf1a83
	ARCH BUILD_KIND											\
bf1a83
	BUILD_DLCACHEDIR BUILD_HNAME BUILD_WORKDIR							\
bf1a83
	PREFIX PREFIX_CROSS PREFIX_MINGW32 PREFIX_MINIPIX PREFIX_NATIVE PREFIX_ROOT PREFIX_RPM"};
bf1a83
: ${DEFAULT_CLEAR_PREFIX_PATHS:="
bf1a83
	bin i686-nt32-midipix doc include info lib lib64 libexec man minipix minipix_dist native
bf1a83
	rpm sbin share tmp usr x86_64-nt64-midipix x86_64-w64-mingw32 pkglist.cross pkglist.host
bf1a83
	pkglist.native SHA256SUMS SHA256SUMS.last"};
bf1a83
: ${DEFAULT_INSTALL_FILES_DESTDIR:="									\
bf1a83
	/=bin /=include /=lib /=lib/pkgconfig /=sbin							\
bf1a83
	/=share /=share/doc /=share/info /=share/man							\
bf1a83
	/=share/man/man1 /=share/man/man2 /=share/man/man3 /=share/man/man4 /=share/man/man5		\
bf1a83
	/=share/man/man6 /=share/man/man7 /=share/man/man8 /=share/man/man9				\
bf1a83
	@share/doc=doc											\
bf1a83
	@share/info=info										\
bf1a83
	@lib=lib64											\
bf1a83
	@share/man=man											\
bf1a83
	@../lib/pkgconfig=share/pkgconfig								\
bf1a83
	@.=usr"};
bf1a83
: ${DEFAULT_LOG_ENV_VARS:="										\
bf1a83
	ARCH BUILD_KIND BUILD_DLCACHEDIR BUILD_WORKDIR DEFAULT_GITROOT					\
bf1a83
	HOME PATH PREFIX PREFIX_CROSS PREFIX_MINGW32 PREFIX_MINIPIX					\
bf1a83
	PREFIX_NATIVE PREFIX_RPM USER"};
bf1a83
: ${DEFAULT_MIRRORS:="											\
bf1a83
https://midipix.org/mirror/										\
bf1a83
https://midipix.luciaillanes.de/archives/								\
bf1a83
"};
bf1a83
: ${DEFAULT_MIRRORS_GIT:="										\
bf1a83
https://midipix.luciaillanes.de/repos_git/								\
bf1a83
"};
bf1a83
bf1a83
#
bf1a83
# Build {log,status} & tarball names
bf1a83
: ${DEFAULT_BUILD_LAST_FAILED_PKG_FNAME:=${BUILD_WORKDIR}/last_failed_pkg};
bf1a83
: ${DEFAULT_BUILD_LOG_FNAME:=${PREFIX}/build.log};
bf1a83
: ${DEFAULT_BUILD_LOG_LAST_FNAME:=${PREFIX}/build.log.last};
bf1a83
: ${DEFAULT_BUILD_STATUS_IN_PROGRESS_FNAME:=${PREFIX}/BUILD_IN_PROGRESS};
bf1a83
: ${DEFAULT_ZIPDIST_FNAME_PREFIX:=midipix-${ARCH}-${BUILD_KIND}.};
bf1a83
bf1a83
# vim:filetype=sh textwidth=0