htrdr_0.12.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.10.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.15.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 "${PLANETS}" ] && PLANETS=ENABLE 37 38 if [ "${ATMOSPHERE}" = "ENABLE" ]; then 39 . "rad-libs/htsky_0.3.1-r1.sh" 40 fi 41 42 if [ "${COMBUSTION}" = "ENABLE" ]; then 43 . "rad-libs/atrstm_0.1.1.sh" 44 fi 45 46 if [ "${PLANETS}" = "ENABLE" ]; then 47 . "rad-libs/rnatm_0.2.sh" 48 . "rad-libs/rngrd_0.2.sh" 49 . "dev-libs/star-buffer_0.1.sh" 50 fi 51 52 name="htrdr" 53 tag="0.12" 54 55 if [ -n "${HTRDR_SH}" ]; then 56 check_conflict "${name}" "${tag}" "${HTRDR_SH}" 57 else 58 export HTRDR_SH="${tag}" 59 60 [ "${ATMOSPHERE}" = "ENABLE" ] && dep="${dep} htsky" 61 [ "${COMBUSTION}" = "ENABLE" ] && dep="${dep} atrstm" 62 [ "${PLANETS}" = "ENABLE" ] && dep="${dep} rnatm rngrd star-buffer" 63 64 url="$\(REPO\)/htrdr.git" 65 dep="${dep} aw mrumtl rsys star-3d star-camera star-sf star-sp star-vx" 66 opt="ATMOSPHERE=${ATMOSPHERE} COMBUSTION=${COMBUSTION} PLANETS=${PLANETS}" 67 opt="${opt} BUILD_TYPE=$\(BUILD_TYPE\) LIB_TYPE=$\(LIB_TYPE\)" 68 git_repo 69 70 profile profile 71 fi