1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 : ${CMAKE_MAKEFILE_GENERATOR:=ninja}
9 DESCRIPTION="C++11 library to encode/decode base64, base64url, base32, base32hex and hex"
10 HOMEPAGE="https://github.com/tplgy/cppcodec"
12 if [[ ${PV} == *9999 ]]; then
14 EGIT_REPO_URI="https://github.com/tplgy/cppcodec.git"
16 # Disable pulling in catch
19 SRC_URI="https://github.com/tplgy/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
26 RESTRICT="!test? ( test )"
36 -DBUILD_TESTING=$(usex test)
38 cmake-utils_src_configure