mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
New receipe : cppfront (#10983)
This commit is contained in:
41
dev-lang/cppfront/cppfront-0.7.4.recipe
Normal file
41
dev-lang/cppfront/cppfront-0.7.4.recipe
Normal file
@@ -0,0 +1,41 @@
|
||||
SUMMARY="A simpler and safer way to write C++ code"
|
||||
DESCRIPTION="Cppfront is a compiler from an experimental C++ 'syntax 2' \
|
||||
(Cpp2) to today's 'syntax 1' (Cpp1), to prove out some concepts, share \
|
||||
some ideas, and prototype features that can also be proposed for evolving \
|
||||
today's C++."
|
||||
HOMEPAGE="https://hsutter.github.io/cppfront/"
|
||||
COPYRIGHT="Herb Sutter"
|
||||
LICENSE="CppFront"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/hsutter/cppfront/archive/refs/tags/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="028f44cc0cad26b51829e4abf7c5aedf8a31f852ab5dfbad54bb232f0a1d7447"
|
||||
PATCHES="cppfront-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="all !x86_gcc2"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
cppfront$secondaryArchSuffix = $portVersion
|
||||
cmd:cppfront = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:g++$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
g++ source/cppfront.cpp -std=c++20 -o cppfront
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $prefix/bin
|
||||
cp cppfront $prefix/bin
|
||||
}
|
||||
11
dev-lang/cppfront/licenses/CppFront
Normal file
11
dev-lang/cppfront/licenses/CppFront
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
Copyright (c) Herb Sutter
|
||||
SPDX-License-Identifier: CC-BY-NC-ND-4.0
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
18
dev-lang/cppfront/patches/cppfront-0.7.4.patchset
Normal file
18
dev-lang/cppfront/patches/cppfront-0.7.4.patchset
Normal file
@@ -0,0 +1,18 @@
|
||||
From 383766f73af33883ed543690d278a564c72dd402 Mon Sep 17 00:00:00 2001
|
||||
From: yann64 <yannickbarbel@orange.fr>
|
||||
Date: Thu, 29 Aug 2024 16:14:15 +0200
|
||||
Subject: bump version to correct number
|
||||
|
||||
|
||||
diff --git a/source/version.info b/source/version.info
|
||||
index f8a5536..26db551 100644
|
||||
--- a/source/version.info
|
||||
+++ b/source/version.info
|
||||
@@ -1 +1 @@
|
||||
-"v0.7.3"
|
||||
\ No newline at end of file
|
||||
+"v0.7.4"
|
||||
\ No newline at end of file
|
||||
--
|
||||
2.45.2
|
||||
|
||||
Reference in New Issue
Block a user