zug, new recipe (#9817)

This commit is contained in:
Schrijvers Luc
2023-12-02 10:43:05 +01:00
committed by GitHub
parent 2b5286621a
commit 3477eefab6
2 changed files with 67 additions and 0 deletions

View File

@@ -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.

View File

@@ -0,0 +1,44 @@
SUMMARY="Transducers for C++"
DESCRIPTION="zug is a C++ library providing transducers. Transducers are composable sequential \
transformations independent of the source. They are extremely lightweight, and can be used to \
express algorithms over pull-based sequences (iterators, files) but also push based sequences \
(signals, events, asynchronous streams) in a generic way."
HOMEPAGE="https://sinusoid.es/zug/"
COPYRIGHT="2016-2018 Juan Pedro Bolivar Puente"
LICENSE="BSL 1.0"
REVISION="1"
SOURCE_URI="https://github.com/arximboldi/zug/archive/refs/tags/v$portVersion.tar.gz"
CHECKSUM_SHA256="1b9c8f962e40baa6f0c6af35f957444850063d550078a3ebd0227727b8ef193c"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
zug$secondaryArchSuffix = $portVersion
devel:zug$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
}