diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-06-20 19:13:35 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-06-20 19:16:10 +0900 |
commit | e324c2e7e496f30183b678e8fa1a3c10cdb80e5b (patch) | |
tree | 50fda18f6c1de7e73755e080fbc55a28833582ff /debian/_buildscripts/local/scripts/internals/_config_template.sh | |
parent | 77398a607fe09f49f40349bce398661c43e77143 (diff) | |
download | tde-packaging-e324c2e7.tar.gz tde-packaging-e324c2e7.zip |
DEB build scripts: major update aimed at simplifying the use for
non-root users.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/_buildscripts/local/scripts/internals/_config_template.sh')
-rw-r--r-- | debian/_buildscripts/local/scripts/internals/_config_template.sh | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/debian/_buildscripts/local/scripts/internals/_config_template.sh b/debian/_buildscripts/local/scripts/internals/_config_template.sh new file mode 100644 index 000000000..ea8f438ba --- /dev/null +++ b/debian/_buildscripts/local/scripts/internals/_config_template.sh @@ -0,0 +1,42 @@ +#!/bin/bash +set -a + +#---------------------------- +# Build information +#---------------------------- +TDE_RELEASE="14.1.0" # TDE release number +DISTRO="debian" # Distro family +DISTRO_NAME="buster" # Distro name of specific version +ARCHITECTURE="amd64" # Build for this architecture +USE_LOCAL_BUILD_NUMBER="n" # If == "y", use local build numbering for modules +BUILD_NUMBER="b001" # TDE build number +BUILD_DATE="" # Module build date (automatic if "" or fixed otherwise, ex 20171201) +BUILD_DEFAULT_OPTIONS="-g -lr" # Default building options (pbuilder) +GPG_SIGN_KEYID="" # Use this GPG key to sign packages. If null, packages will not be signed + +#---------------------------- +# Base directories +#---------------------------- +# TDE root folder +TDE_DIR="" +# Relative paths +CFG_SCRIPT_LOG_DIR="0_logs" +CFG_GIT_DIR="1_git" +CFG_BUILD_DIR="2_build" +CFG_REPO_DIR="3_repo" +CFG_EXTRA_DEPS_DIR="edeps" # Relative to CFG_GIT_DIR folder +CFG_HOOKS_DIR="hooks" # Relative to CFG_GIT_DIR folder +# Composite paths +CFG_GIT_TDE_MAIN="$CFG_GIT_DIR/tde/main" +CFG_GIT_TDE_PACKAGING="$CFG_GIT_DIR/tde-packaging/$DISTRO/$DISTRO_NAME" +CFG_GIT_EXTRA_DEPENDENCIES="$CFG_GIT_DIR/$CFG_EXTRA_DEPS_DIR" +CFG_HOOK_DIR="$CFG_GIT_DIR/$CFG_HOOKS_DIR" + +#---------------------------- +# Build output directories +#---------------------------- +CFG_TDE_BUILD_DIR="$CFG_BUILD_DIR/build" +CFG_TDE_DEBS_DIR="$CFG_BUILD_DIR/debs" + +#---------------------------- +set +a |