star-build

Automation tool for project installation
git clone git://git.meso-star.fr/star-build.git
Log | Files | Refs | README | LICENSE

commit 293be24c20e28adf3306cb204b7553a9f76198d2
parent 4b251cacbf6b59b1e96920cb6fe5494298babb24
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed,  6 Nov 2024 12:52:10 +0100

Add build script for htrdr 0.11

Diffstat:
Mlint.mk | 1+
Asrc/htrdr_0.11.sh | 62++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 63 insertions(+), 0 deletions(-)

diff --git a/lint.mk b/lint.mk @@ -29,6 +29,7 @@ lint: shellcheck -o all -x -P src src/htmie_0.1.sh shellcheck -o all -x -P src src/htpp_0.5.sh shellcheck -o all -x -P src src/htrdr_0.10.sh + shellcheck -o all -x -P src src/htrdr_0.11.sh shellcheck -o all -x -P src src/htsky_0.3.1.sh shellcheck -o all -x -P src src/libcyaml_1.3.1.sh shellcheck -o all -x -P src src/libcyaml_1.4.1.sh diff --git a/src/htrdr_0.11.sh b/src/htrdr_0.11.sh @@ -0,0 +1,62 @@ +#!/bin/sh + +# Copyright (C) 2023, 2024 |Méso|Star> (contact@meso-star.com) +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + +set -e + +[ -n "${HTRDR_SH}" ] && return +export HTRDR_SH=1 + +[ -z "${ATMOSPHERE}" ] && ATMOSPHERE=ENABLE +[ -z "${COMBUSTION}" ] && COMBUSTION=ENABLE +[ -z "${PLANETS}" ] && PLANETS=ENABLE + +. "build.sh" +. "aw_2.1.sh" +. "htpp_0.5.sh" +. "mrumtl_0.2.sh" +. "rsys_0.14.sh" +. "star-3d_0.10.sh" +. "star-camera_0.2.sh" +. "star-sf_0.9.sh" +. "star-sp_0.14.sh" +. "star-vx_0.3.sh" + +if [ "${ATMOSPHERE}" = "ENABLE" ]; then + . "htsky_0.3.1.sh" + dep="${dep} htsky" +fi +if [ "${COMBUSTION}" = "ENABLE" ]; then + . "atrstm_0.1.1.sh" + dep="${dep} atrstm" +fi +if [ "${PLANETS}" = "ENABLE" ]; then + . "rnatm_0.1.sh" + . "rngrd_0.1.sh" + . "star-buffer_0.1.sh" + dep="${dep} rnatm rngrd star-buffer" +fi + +opt="ATMOSPHERE=${ATMOSPHERE} COMBUSTION=${COMBUSTION} PLANETS=${PLANETS}" + +name="htrdr" +url="$\(REPO\)/htrdr.git" +tag="0.11" +dep="${dep} aw mrumtl rsys star-3d star-camera star-sf star-sp star-vx" +opt="${opt} BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" +git_repo + +profile htrdr.profile