|
|
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 |
# Default command & tool flags & variables
|
|
|
bf1a83 |
: ${DEFAULT_AUTOCONF_CONFIG_GUESS:="copy"};
|
|
|
bf1a83 |
: ${DEFAULT_CMAKE_LISTFILE:="CMakeLists.txt"};
|
|
|
bf1a83 |
: ${DEFAULT_GIT_ARGS:=""};
|
|
|
bf1a83 |
: ${DEFAULT_GITROOT:=git://midipix.org};
|
|
|
bf1a83 |
: ${DEFAULT_GITROOT_HEAD:=git://midipix.org};
|
|
|
bf1a83 |
: ${DEFAULT_MAKE_INSTALL_VNAME:=DESTDIR};
|
|
|
bf1a83 |
: ${DEFAULT_MAKEFLAGS_LOADAVG:="-l${DEFAULT_BUILD_CPUS}"};
|
|
|
bf1a83 |
: ${DEFAULT_MAKEFLAGS_PARALLELISE:="-j${DEFAULT_BUILD_CPUS}"};
|
|
|
bf1a83 |
: ${DEFAULT_MAKEFLAGS_VERBOSITY:="V=99 VERBOSE=1"};
|
|
|
bf1a83 |
: ${DEFAULT_RPM_JOBS_MAX:=1};
|
|
|
bf1a83 |
: ${DEFAULT_RPM_JOBS_SEMAPHORE:="${BUILD_WORKDIR}/rpm.jobs"};
|
|
|
bf1a83 |
: ${DEFAULT_RPM_JOBS_WAIT:=8};
|
|
|
bf1a83 |
: ${DEFAULT_TIMESTAMP_FMT:="%Y/%m/%d %H:%M:%S"};
|
|
|
bf1a83 |
: ${DEFAULT_WGET_ARGS:="--no-check-certificate --timeout=25 --waitretry=16"};
|
|
|
bf1a83 |
: ${DEFAULT_ZIPDIST_DEFROOT:="/dev/fs/c/midipix"};
|
|
|
bf1a83 |
|
|
|
bf1a83 |
#
|
|
|
bf1a83 |
# Default CMake flags & variables
|
|
|
bf1a83 |
: ${DEFAULT_CMAKE_ARGS:="
|
|
|
bf1a83 |
-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY
|
|
|
bf1a83 |
-DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY
|
|
|
bf1a83 |
-DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER
|
|
|
bf1a83 |
-DCMAKE_INSTALL_PREFIX=
|
|
|
bf1a83 |
-DCMAKE_VERBOSE_MAKEFILE=YES"};
|
|
|
bf1a83 |
|
|
|
bf1a83 |
# vim:filetype=sh textwidth=0
|