htrdr_0.11.sh (1996B)
1 #!/bin/sh 2 3 # Copyright (C) 2023-2025 |Méso|Star> (contact@meso-star.com) 4 # 5 # This program is free software: you can redistribute it and/or modify 6 # it under the terms of the GNU General Public License as published by 7 # the Free Software Foundation, either version 3 of the License, or 8 # (at your option) any later version. 9 # 10 # This program is distributed in the hope that it will be useful, 11 # but WITHOUT ANY WARRANTY; without even the implied warranty of 12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 # GNU General Public License for more details. 14 # 15 # You should have received a copy of the GNU General Public License 16 # along with this program. If not, see <http://www.gnu.org/licenses/>. 17 18 set -e 19 20 . "misc/build.sh" 21 22 . "cad-libs/aw_2.1.sh" 23 . "rad-libs/mrumtl_0.2.sh" 24 . "rad-libs/star-sf_0.9.sh" 25 . "sci-apps/htpp_0.5.sh" 26 . "sci-libs/star-3d_0.10.sh" 27 . "sci-libs/star-camera_0.2.sh" 28 . "sci-libs/star-sp_0.14.sh" 29 . "sci-libs/star-vx_0.3.1.sh" 30 . "sys-libs/rsys_0.15.sh" 31 32 [ -z "${ATMOSPHERE}" ] && ATMOSPHERE=ENABLE 33 [ -z "${COMBUSTION}" ] && COMBUSTION=ENABLE 34 [ -z "${PLANETS}" ] && PLANETS=ENABLE 35 36 if [ "${ATMOSPHERE}" = "ENABLE" ]; then 37 . "rad-libs/htsky_0.3.1.sh" 38 fi 39 40 if [ "${COMBUSTION}" = "ENABLE" ]; then 41 . "rad-libs/atrstm_0.1.1.sh" 42 fi 43 44 if [ "${PLANETS}" = "ENABLE" ]; then 45 . "rad-libs/rnatm_0.1.sh" 46 . "rad-libs/rngrd_0.1.sh" 47 . "dev-libs/star-buffer_0.1.sh" 48 fi 49 50 name="htrdr" 51 tag="0.11" 52 53 if [ -n "${HTRDR_SH}" ]; then 54 check_conflict "${name}" "${tag}" "${HTRDR_SH}" 55 else 56 export HTRDR_SH="${tag}" 57 58 [ "${ATMOSPHERE}" = "ENABLE" ] && dep="${dep} htsky" 59 [ "${COMBUSTION}" = "ENABLE" ] && dep="${dep} atrstm" 60 [ "${PLANETS}" = "ENABLE" ] && dep="${dep} rnatm rngrd star-buffer" 61 62 url="$\(REPO\)/htrdr.git" 63 dep="${dep} aw mrumtl rsys star-3d star-camera star-sf star-sp star-vx" 64 opt="ATMOSPHERE=${ATMOSPHERE} COMBUSTION=${COMBUSTION} PLANETS=${PLANETS}" 65 opt="${opt} BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" 66 git_repo 67 68 profile htrdr.profile 69 fi