commit 81f5c994ceae473965d1cf20203d417268aef8d2
parent 2ec3bb6f0c4feb8230a52ebc2d3ca22270576b2e
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Mon, 6 May 2024 12:58:21 +0200
Add the build script of clipper2 1.1.1
Diffstat:
2 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/lint.mk b/lint.mk
@@ -19,6 +19,7 @@ lint:
shellcheck -o all -x -P src src/atrtp_0.1.sh
shellcheck -o all -x -P src src/aw_2.1.sh
shellcheck -o all -x -P src src/build.sh
+ shellcheck -o all -x -P src src/clipper2_1.1.1.sh
shellcheck -o all -x -P src src/embree_4.0.1.sh
shellcheck -o all -x -P src src/gmsh_4.12.2.sh
shellcheck -o all -x -P src src/htcp_0.1.sh
diff --git a/src/clipper2_1.1.1.sh b/src/clipper2_1.1.1.sh
@@ -0,0 +1,27 @@
+#!/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 "${CLIPPER2_SH}" ] && return
+export CLIPPER2_SH=1
+
+. "build.sh"
+
+name="clipper2"
+url="$\(REPO_BIN\)/clipper2_1.1.1_gnu_linux64.tgz"
+bin_spkg