mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
49 lines
1.3 KiB
Bash
49 lines
1.3 KiB
Bash
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="2"
|
|
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:libgc$secondaryArchSuffix
|
|
devel:libboost_system$secondaryArchSuffix >= 1.83.0
|
|
devel:libcatch2$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
|
|
$cmakeDirArgs -Wno-dev \
|
|
-Dimmer_BUILD_TESTS=OFF \
|
|
-Dimmer_BUILD_EXAMPLES=OFF
|
|
make -C build $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make -C build install
|
|
}
|