star-build

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

commit 85d11721a6ff74523bbb6077a0b70a6a0c5d1487
parent 2a739c5e27df46de997711fc972ea21f1aedd278
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date:   Thu, 30 May 2024 18:19:59 +0200

Add the build script for libcyaml 1.4.1

Diffstat:
Asrc/libcyaml_1.4.1.sh | 29+++++++++++++++++++++++++++++
1 file changed, 29 insertions(+), 0 deletions(-)

diff --git a/src/libcyaml_1.4.1.sh b/src/libcyaml_1.4.1.sh @@ -0,0 +1,29 @@ +#!/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 "${LIBCYAML_SH}" ] && return +export LIBCYAML_SH=1 + +tag="v1.4.1" + +sed "s/@TAG@/${tag}/" "src/libcyaml.mk.in" + +# Add the template file as a prerequisite for the script invoked +# i.e. the build file +printf "%s: src/libcyaml.mk.in\n" "$0"