htrdr_0.10.sh (2027B)
1 #!/bin/sh 2 3 # Copyright (C) 2023-2026 |Méso|Star> (contact@meso-star.com) 4 # 5 # This file is part of Star-Build. 6 # 7 # Star-Build is free software: you can redistribute it and/or modify 8 # it under the terms of the GNU General Public License as published by 9 # the Free Software Foundation, either version 3 of the License, or 10 # (at your option) any later version. 11 # 12 # Star-Build is distributed in the hope that it will be useful, 13 # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 # GNU General Public License for more details. 16 # 17 # You should have received a copy of the GNU General Public License 18 # along with Star-Build. If not, see <http://www.gnu.org/licenses/>. 19 20 set -e 21 22 . "misc/build.sh" 23 24 . "cad-libs/aw_2.1.sh" 25 . "rad-libs/mrumtl_0.2.sh" 26 . "rad-libs/star-sf_0.9.sh" 27 . "sci-apps/htpp_0.5.sh" 28 . "sci-libs/star-3d_0.10.1.sh" 29 . "sci-libs/star-camera_0.2.sh" 30 . "sci-libs/star-sp_0.14.sh" 31 . "sci-libs/star-vx_0.3.1.sh" 32 . "sys-libs/rsys_0.15.sh" 33 34 [ -z "${ATMOSPHERE}" ] && ATMOSPHERE=ENABLE 35 [ -z "${COMBUSTION}" ] && COMBUSTION=ENABLE 36 [ -z "${PLANETO}" ] && PLANETO=ENABLE 37 38 if [ "${ATMOSPHERE}" = "ENABLE" ]; then 39 . "rad-libs/htsky_0.3.1.sh" 40 fi 41 if [ "${COMBUSTION}" = "ENABLE" ]; then 42 . "rad-libs/atrstm_0.1.1.sh" 43 fi 44 if [ "${PLANETO}" = "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.10" 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 [ "${PLANETO}" = "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} PLANETO=${PLANETO}" 65 opt="${opt} BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" 66 git_repo 67 68 profile htrdr.profile 69 fi