diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-06-06 08:25:34 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-09-18 15:46:45 +0200 |
commit | def304707fabb4f0eefdd5620030623ddb1d0aae (patch) | |
tree | a2d92be849c80ddeea4f57d15c19853d2fcda3b2 /dev-cpp | |
parent | dev-python/rapidfuzz_capi: New package, v1.0.5 (diff) | |
download | gentoo-def304707fabb4f0eefdd5620030623ddb1d0aae.tar.gz gentoo-def304707fabb4f0eefdd5620030623ddb1d0aae.tar.bz2 gentoo-def304707fabb4f0eefdd5620030623ddb1d0aae.zip |
dev-cpp/jarowinkler-cpp: New package, v1.0.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-cpp')
-rw-r--r-- | dev-cpp/jarowinkler-cpp/Manifest | 1 | ||||
-rw-r--r-- | dev-cpp/jarowinkler-cpp/jarowinkler-cpp-1.0.2.ebuild | 32 | ||||
-rw-r--r-- | dev-cpp/jarowinkler-cpp/metadata.xml | 11 |
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-cpp/jarowinkler-cpp/Manifest b/dev-cpp/jarowinkler-cpp/Manifest new file mode 100644 index 000000000000..fa8637d3954f --- /dev/null +++ b/dev-cpp/jarowinkler-cpp/Manifest @@ -0,0 +1 @@ +DIST jarowinkler-cpp-1.0.2.gh.tar.gz 10375 BLAKE2B e55f6e72ea66e553c047bfd2df8d4337430292391138595cd148686bc79a326e195cd55d81fe3b46aa41e7a852c0ea8bfb5891e6207ed3af538eea7597accd5a SHA512 8eeae55ff64dcc434dd8f8d33c03c9b9c828f54cd6a6a028e376763036e445fa6db81b5a9a19d84d023c6bf3968223c3f9a9e4220feb6f537e9c1b2c4f21cb11 diff --git a/dev-cpp/jarowinkler-cpp/jarowinkler-cpp-1.0.2.ebuild b/dev-cpp/jarowinkler-cpp/jarowinkler-cpp-1.0.2.ebuild new file mode 100644 index 000000000000..43f5ed39f112 --- /dev/null +++ b/dev-cpp/jarowinkler-cpp/jarowinkler-cpp-1.0.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Fast Jaro and Jaro Winkler distance" +HOMEPAGE="https://github.com/maxbachmann/jarowinkler-cpp/" +SRC_URI=" + https://github.com/maxbachmann/jarowinkler-cpp/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +DEPEND=" + test? ( + >=dev-cpp/catch-3 + ) +" + +src_configure() { + local mycmakeargs=( + -DJARO_WINKLER_BUILD_TESTING=$(usex test) + ) + cmake_src_configure +} diff --git a/dev-cpp/jarowinkler-cpp/metadata.xml b/dev-cpp/jarowinkler-cpp/metadata.xml new file mode 100644 index 000000000000..8006795ac5b2 --- /dev/null +++ b/dev-cpp/jarowinkler-cpp/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mgorny@gentoo.org</email> + <name>Michał Górny</name> + </maintainer> + <upstream> + <remote-id type="github">maxbachmann/jarowinkler-cpp</remote-id> + </upstream> +</pkgmetadata> |