1SUMMARY="Transducers for C++"
2DESCRIPTION="zug is a C++ library providing transducers. Transducers are composable sequential \
3transformations independent of the source. They are extremely lightweight, and can be used to \
4express algorithms over pull-based sequences (iterators, files) but also push based sequences \
5(signals, events, asynchronous streams) in a generic way."
6HOMEPAGE="https://sinusoid.es/zug/"
7COPYRIGHT="2016-2018 Juan Pedro Bolivar Puente"
8LICENSE="BSL 1.0"
9REVISION="1"
10SOURCE_URI="https://github.com/arximboldi/zug/archive/refs/tags/v$portVersion.tar.gz"
11CHECKSUM_SHA256="1b9c8f962e40baa6f0c6af35f957444850063d550078a3ebd0227727b8ef193c"
12
13ARCHITECTURES="all !x86_gcc2"
14SECONDARY_ARCHITECTURES="x86"
15
16PROVIDES="
17	zug$secondaryArchSuffix = $portVersion
18	devel:zug$secondaryArchSuffix = $portVersion
19	"
20REQUIRES="
21	haiku$secondaryArchSuffix
22	"
23
24BUILD_REQUIRES="
25	haiku${secondaryArchSuffix}_devel
26	devel:libcatch2$secondaryArchSuffix
27	"
28BUILD_PREREQUIRES="
29	cmd:cmake
30	cmd:gcc$secondaryArchSuffix
31	cmd:make
32	"
33
34BUILD()
35{
36	cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
37		$cmakeDirArgs -Wno-dev
38	make -C build $jobArgs
39}
40
41INSTALL()
42{
43	make -C build install
44}
45