diff options
author | 2021-10-01 09:21:54 +0200 | |
---|---|---|
committer | 2021-10-01 09:24:26 +0200 | |
commit | c454b88c9586d36f19370b5718d7912d39ddd843 (patch) | |
tree | e863151b901980b8e9cf8aed7ace883fd2f9b15f /dev-libs/pegtl/pegtl-3.2.1.ebuild | |
parent | dev-cpp/random123: Remove old 1.13.2 (diff) | |
download | gentoo-c454b88c9586d36f19370b5718d7912d39ddd843.tar.gz gentoo-c454b88c9586d36f19370b5718d7912d39ddd843.tar.bz2 gentoo-c454b88c9586d36f19370b5718d7912d39ddd843.zip |
dev-libs/pegtl: Version bump to 3.2.1
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-libs/pegtl/pegtl-3.2.1.ebuild')
-rw-r--r-- | dev-libs/pegtl/pegtl-3.2.1.ebuild | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-libs/pegtl/pegtl-3.2.1.ebuild b/dev-libs/pegtl/pegtl-3.2.1.ebuild new file mode 100644 index 000000000000..09fd47749d97 --- /dev/null +++ b/dev-libs/pegtl/pegtl-3.2.1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Header-only library for creating parsers according to Parsing Expression Grammar" +HOMEPAGE="https://github.com/taocpp/PEGTL" +SRC_URI="https://github.com/taocpp/PEGTL/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${P^^}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" + +PATCHES=( + "${FILESDIR}"/${P}-werror.patch +) + +src_configure() { + local mycmakeargs=( + -DPEGTL_INSTALL_CMAKE_DIR="$(get_libdir)/cmake/${PN}" + -DPEGTL_INSTALL_DOC_DIR="share/doc/${PF}" + ) + cmake_src_configure +} |