|
|
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 |
# Build steps
|
|
|
bf1a83 |
DEFAULT_BUILD_STEPS=" \
|
|
|
bf1a83 |
fetch_clean fetch_download fetch_extract \
|
|
|
bf1a83 |
configure_clean configure_patch_pre configure_autotools configure_patch configure \
|
|
|
bf1a83 |
build_clean build \
|
|
|
bf1a83 |
install_clean install_subdirs install_make install_files install install_rpm \
|
|
|
bf1a83 |
clean \
|
|
|
bf1a83 |
finish";
|
|
|
bf1a83 |
|
|
|
bf1a83 |
#
|
|
|
bf1a83 |
# Build variables
|
|
|
bf1a83 |
DEFAULT_BUILD_VARS=" \
|
|
|
bf1a83 |
AR AUTOCONF_CONFIG_GUESS BASE_DIR BUILD_DIR BUILD_STEPS_DISABLE BUILD_TYPE CC CCLD \
|
|
|
bf1a83 |
CFLAGS_BUILD CFLAGS_BUILD_EXTRA CFLAGS_CONFIGURE CFLAGS_CONFIGURE_EXTRA CMAKE \
|
|
|
bf1a83 |
CMAKE_ARGS CMAKE_ARGS_EXTRA CMAKE_LISTFILE CONFIG_CACHE CONFIG_CACHE_EXTRA \
|
|
|
bf1a83 |
CONFIG_CACHE_LOCAL CONFIGURE CONFIGURE_ARGS CONFIGURE_ARGS_EXTRA \
|
|
|
bf1a83 |
CONFIGURE_ARGS_EXTRA_LIST CONFIGURE_ARGS_LIST CONFIGURE_TYPE CPPFLAGS_CONFIGURE \
|
|
|
bf1a83 |
CXX CXXFLAGS_CONFIGURE CXXFLAGS_CONFIGURE_EXTRA DEPENDS DESTDIR DESTDIR_HOST \
|
|
|
bf1a83 |
DISABLED ENV_VARS_EXTRA FNAME FORCE_AUTORECONF GITROOT INHERIT_FROM INSTALL_FILES \
|
|
|
bf1a83 |
INSTALL_FILES_DESTDIR INSTALL_FILES_DESTDIR_EXTRA INSTALL_FILES_V2 INSTALL_TARGET \
|
|
|
bf1a83 |
INSTALL_TARGET_EXTRA IN_TREE LD LDFLAGS_BUILD LDFLAGS_BUILD_EXTRA LDFLAGS_CONFIGURE \
|
|
|
bf1a83 |
LDFLAGS_CONFIGURE_EXTRA LIBTOOL MAKE MAKEFLAGS_BUILD MAKEFLAGS_BUILD_EXTRA \
|
|
|
bf1a83 |
MAKEFLAGS_BUILD_EXTRA_LIST MAKEFLAGS_BUILD_LIST MAKEFLAGS_INSTALL \
|
|
|
bf1a83 |
MAKEFLAGS_INSTALL_EXTRA MAKEFLAGS_INSTALL_EXTRA_LIST MAKEFLAGS_INSTALL_LIST \
|
|
|
bf1a83 |
MAKEFLAGS_LOADAVG MAKEFLAGS_PARALLELISE MAKEFLAGS_VERBOSITY MAKE_INSTALL_VNAME \
|
|
|
bf1a83 |
MAKE_SUBDIRS MIRRORS MIRRORS_GIT NO_CLEAN NO_CLEAN_BASE_DIR NO_CLEAN_BUILD_DIR \
|
|
|
bf1a83 |
NO_LOG_VARS PATCHES_EXTRA PKG_CONFIG PKG_CONFIG_LIBDIR PKGLIST_DISABLE PREFIX \
|
|
|
bf1a83 |
PYTHON RANLIB RPM_DISABLE SHA256SUM SOFORT_NATIVE_CC SOFORT_NATIVE_CFLAGS \
|
|
|
bf1a83 |
SOFORT_NATIVE_CFLAGS_EXTRA SOFORT_NATIVE_CXX SOFORT_NATIVE_CXXFLAGS \
|
|
|
bf1a83 |
SOFORT_NATIVE_CXXFLAGS_EXTRA SOFORT_NATIVE_LD SOFORT_NATIVE_LDFLAGS \
|
|
|
bf1a83 |
SOFORT_NATIVE_LDFLAGS_EXTRA SUBDIR TARGET URL URLS_GIT VARS_FILE VERSION";
|
|
|
bf1a83 |
|
|
|
bf1a83 |
#
|
|
|
bf1a83 |
# Prerequisite commands
|
|
|
bf1a83 |
DEFAULT_PREREQS=" \
|
|
|
bf1a83 |
awk bunzip2 bzip2 cat chmod cmake cp date find flock \
|
|
|
bf1a83 |
g++ gcc git grep gunzip gzip hostname id install kill \
|
|
|
bf1a83 |
ln lzip make mkdir mkfifo mktemp mv paste patch perl \
|
|
|
bf1a83 |
pgrep pkill printf readlink rm sed sha256sum sort \
|
|
|
bf1a83 |
stat tail tar test touch tr uniq wget xz zip";
|
|
|
bf1a83 |
|
|
|
bf1a83 |
# vim:filetype=sh textwidth=0
|