1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs
8 DESCRIPTION="header-only library for creating parsers according to Parsing Expression Grammar"
9 HOMEPAGE="https://github.com/ColinH/PEGTL"
10 SRC_URI="https://github.com/ColinH/PEGTL/archive/${PV}.tar.gz -> ${P}.tar.gz"
14 KEYWORDS="~amd64 ~x86"
16 RESTRICT="!test? ( test )"
21 S="${WORKDIR}/PEGTL-${PV}"
28 emake CXX="$(tc-getCXX)" PEGTL_CXXFLAGS="${CXXFLAGS}"
34 doins -r pegtl pegtl.hh