void-packages/srcpkgs/range-v3/template

18 lines
639 B
Bash

# Template file for 'range-v3'
pkgname=range-v3
version=0.4.0
revision=1
build_style=cmake
configure_args="-DRANGE_V3_EXAMPLES=OFF -DRANGE_V3_PERF=OFF -DRANGE_V3_TESTS=ON
-DRANGE_BUILD_CALENDAR_EXAMPLE=OFF -DRANGES_NATIVE=OFF"
short_desc="Experimental range library for C++11/14/17"
maintainer="John <johnz@posteo.net>"
license="BSL-1.0"
homepage="https://github.com/ericniebler/range-v3"
distfiles="https://github.com/ericniebler/range-v3/archive/${version}.tar.gz"
checksum=5dbc878b7dfc500fb04b6b9f99d63993a2731ea34b0a4b8d5f670a5a71a18e39
pre_configure() {
sed -i -e '/Werror/d' -e '/Wextra/d' -e '/Wall/d' cmake/ranges_flags.cmake
}