# Template file for 'cereal' pkgname=cereal version=1.3.0 revision=2 build_style=cmake configure_args="-DSKIP_PORTABILITY_TEST=1 -DTHREAD_SAFE=ON -DWITH_WERROR=OFF" short_desc="Header-only C++ serialization library" maintainer="Zlice " license="BSD-3-Clause" homepage="https://uscilab.github.io/cereal" distfiles="https://github.com/USCiLab/cereal/archive/v${version}.tar.gz" checksum=329ea3e3130b026c03a4acc50e168e7daff4e6e661bc6a7dfec0d77b570851d5 if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then makedepends+=" libatomic-devel" LDFLAGS+=" -latomic" configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-latomic" fi post_install() { vlicense LICENSE }