From 01c45f3589c8217149729bab833d3d92eb6b77ca Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Sat, 2 Dec 2023 10:46:14 +0100 Subject: [PATCH] immer, new recipe (#9818) --- dev-libs/immer/immer-0.8.1.recipe | 43 +++++++++++++++++++++++++++++++ dev-libs/immer/licenses/BSL 1.0 | 23 +++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 dev-libs/immer/immer-0.8.1.recipe create mode 100644 dev-libs/immer/licenses/BSL 1.0 diff --git a/dev-libs/immer/immer-0.8.1.recipe b/dev-libs/immer/immer-0.8.1.recipe new file mode 100644 index 000000000..f5672dacf --- /dev/null +++ b/dev-libs/immer/immer-0.8.1.recipe @@ -0,0 +1,43 @@ +SUMMARY="Postmodern immutable and persistent data structures for C++" +DESCRIPTION="immer is a library of persistent and immutable data structures written in C++. \ +These enable whole new kinds of architectures for interactive and concurrent programs of \ +striking simplicity, correctness, and performance." +HOMEPAGE="https://sinusoid.es/immer" +COPYRIGHT="2016-2018 Juan Pedro Bolivar Puente" +LICENSE="BSL 1.0" +REVISION="1" +SOURCE_URI="https://github.com/arximboldi/immer/archive/refs/tags/v$portVersion.tar.gz" +CHECKSUM_SHA256="de8411c84830864604bb685dc8f2e3c0dbdc40b95b2f6726092f7dcc85e75209" + +ARCHITECTURES="all !x86_gcc2" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + immer$secondaryArchSuffix = $portVersion + devel:immer$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libcatch2$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:cmake + cmd:gcc$secondaryArchSuffix + cmd:make + " + +BUILD() +{ + cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \ + $cmakeDirArgs -Wno-dev + make -C build $jobArgs +} + +INSTALL() +{ + make -C build install +} diff --git a/dev-libs/immer/licenses/BSL 1.0 b/dev-libs/immer/licenses/BSL 1.0 new file mode 100644 index 000000000..36b7cd93c --- /dev/null +++ b/dev-libs/immer/licenses/BSL 1.0 @@ -0,0 +1,23 @@ +Boost Software License - Version 1.0 - August 17th, 2003 + +Permission is hereby granted, free of charge, to any person or organization +obtaining a copy of the software and accompanying documentation covered by +this license (the "Software") to use, reproduce, display, distribute, +execute, and transmit the Software, and to prepare derivative works of the +Software, and to permit third-parties to whom the Software is furnished to +do so, all subject to the following: + +The copyright notices in the Software and this entire statement, including +the above license grant, this restriction and the following disclaimer, +must be included in all copies of the Software, in whole or in part, and +all derivative works of the Software, unless such copies or derivative +works are solely in the form of machine-executable object code generated by +a source language processor. + +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, TITLE AND NON-INFRINGEMENT. IN NO EVENT +SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE +FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE.