mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-21 19:20:08 +02:00
cppfront : Version bump to 0.8.0 (#11322)
Co-authored-by: yann64 <yannick.barbel@orange.fr>
This commit is contained in:
42
dev-lang/cppfront/cppfront-0.8.0.recipe
Normal file
42
dev-lang/cppfront/cppfront-0.8.0.recipe
Normal file
@@ -0,0 +1,42 @@
|
||||
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="7fb573599960bc0a46a71ed103ff97adbf938d4a0df754dc952a44fdcacfc571"
|
||||
|
||||
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
|
||||
mkdir -p $includeDir/cppfront
|
||||
cp include/* $includeDir/cppfront/
|
||||
}
|
||||
Reference in New Issue
Block a user