diff options
author | Sam James <sam@gentoo.org> | 2024-11-23 20:52:12 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-11-23 20:52:12 +0000 |
commit | 52c02027354e53c85ee364250b621d800ca13d6d (patch) | |
tree | 7e3a02eac52a04818f513339146c5346ada4b7b7 | |
parent | dev-db/mysql-connector-c: Stabilize 8.0.36 x86, #942796 (diff) | |
download | gentoo-52c02027354e53c85ee364250b621d800ca13d6d.tar.gz gentoo-52c02027354e53c85ee364250b621d800ca13d6d.tar.bz2 gentoo-52c02027354e53c85ee364250b621d800ca13d6d.zip |
dev-libs/pegtl: add 3.2.8
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | dev-libs/pegtl/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/pegtl/pegtl-3.2.8.ebuild | 27 |
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-libs/pegtl/Manifest b/dev-libs/pegtl/Manifest index fefd9ccb26cb..56ab343d3466 100644 --- a/dev-libs/pegtl/Manifest +++ b/dev-libs/pegtl/Manifest @@ -1,2 +1,3 @@ DIST pegtl-2.8.3.tar.gz 201531 BLAKE2B 093d1b5f7d1f95fa00abdae9c24d24ba9ffd8510d6512c3460374f19b12d50403c19301645c5f6fc4d697cc687079c5b0d23c32b5775b30fbf05a154aeec2c19 SHA512 9f7644b86741dfe61716bbc43b2ea0a02cfc21eaf229c47cc71a49e2f08bf2c1ff37d2b2242a1bcf518b1893be6b82c27b0e9010a1b47ef8df87ffd90d280f71 DIST pegtl-3.2.7.tar.gz 249394 BLAKE2B d095ef337e1ff9e01692f07d0b110a685cbe447c36d7d294d0f18a15e076d15112b300232c5b4872b4a0b51d375799fc73261bff31c5b970a3d05b90b0ae6062 SHA512 e996be569e1c25377b13870c4f3e59f1935bbf24bb7c6edca0edc85b304fbe3d05db52a303839b0bd50c78769b773fc2237814787a703c58de8a79398210ee34 +DIST pegtl-3.2.8.tar.gz 249571 BLAKE2B a0848ee9259ff5d498398dd2b2dec0c002c1945f4bb80de6c8fa7e5ecc94ec176203cd7c9117411bab37ab53fa17c16a7cf7aae90dd6215673deeb3ea94c43cb SHA512 aecf9396edbdd65549603484d1841cd676b197d164ee2979ee5acaf657da4fa9ebc1a59fc8550cfa440ce27794cdc59cdf86a6521e4bda084c0600cb2c92f5cf diff --git a/dev-libs/pegtl/pegtl-3.2.8.ebuild b/dev-libs/pegtl/pegtl-3.2.8.ebuild new file mode 100644 index 000000000000..86671375bbfd --- /dev/null +++ b/dev-libs/pegtl/pegtl-3.2.8.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2024 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}"/${PN}-3.2.1-werror.patch +) + +src_configure() { + local mycmakeargs=( + -DPEGTL_INSTALL_CMAKE_DIR="$(get_libdir)/cmake/${PN}" + -DPEGTL_INSTALL_DOC_DIR="share/doc/${PF}" + ) + cmake_src_configure +} |