diff options
author | Joonas Niilola <juippis@gentoo.org> | 2022-04-09 15:20:33 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2022-04-09 15:20:33 +0300 |
commit | a45f06046f4cfe2318be8237374400b13aa34960 (patch) | |
tree | 6b2eee218c4d6e543d74ca65078b9e45d3644a69 /dev-libs/raft | |
parent | dev-ruby/will_paginate: drop 3.3.0 (diff) | |
download | gentoo-a45f06046f4cfe2318be8237374400b13aa34960.tar.gz gentoo-a45f06046f4cfe2318be8237374400b13aa34960.tar.bz2 gentoo-a45f06046f4cfe2318be8237374400b13aa34960.zip |
dev-libs/raft: add 0.13.0
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/raft')
-rw-r--r-- | dev-libs/raft/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/raft/raft-0.13.0.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-libs/raft/Manifest b/dev-libs/raft/Manifest index c0a2a4c08610..5726a0d2d875 100644 --- a/dev-libs/raft/Manifest +++ b/dev-libs/raft/Manifest @@ -1,2 +1,3 @@ DIST raft-0.11.2.tar.gz 325098 BLAKE2B d9366547440b431edec75a22bca3a50bb6d714b5d950c061723f0585c5ad33704d23c32f2e325dc566ebeab71e15e10f07932c854657837e190901b52c9b4950 SHA512 8be47270cf3b888ff6adeeec2480ccd5065b45c3c546da089cbb326cf429f0bcd4396001e20fbf52587c00d5757337812c834ec5064fafa4815a978a7cf0c35f DIST raft-0.11.3.tar.gz 329571 BLAKE2B 08b145bfbcc26b50f69c550599978ed365ccbbd021b9c4699784c08bd7e0f17f366b1709c22df1a467fbdb524668a753f431744419da8f18d57ea52c5b33de38 SHA512 7d1a7455ff8d58ed1f3d259cade1c74fcb22732a55242dcf761cc6554739c0ea1c462aa02591d28d8fa2b343b23e6261a5e15d02e2a31467969b7d9f9f3b5e92 +DIST raft-0.13.0.tar.gz 332490 BLAKE2B 8d14e07b12d4f5a7eadb626b72a90b4defffaee26804a982f257ef80f75ff47ccf434a7dc6b62f36177120cd12ce8c772a6f293e9ad48c61df277b10c0df1854 SHA512 1d65f21ac85deb36a6f8681bd506656a34994164ba51f7c23aa523673024dacf5616bbb3f706c0da4df38c0cc1a00b330459209c80d404545686525da2916afa diff --git a/dev-libs/raft/raft-0.13.0.ebuild b/dev-libs/raft/raft-0.13.0.ebuild new file mode 100644 index 000000000000..dfebdcca2626 --- /dev/null +++ b/dev-libs/raft/raft-0.13.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="C implementation of the Raft consensus protocol" +HOMEPAGE="https://github.com/canonical/raft" +SRC_URI="https://github.com/canonical/raft/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3-with-linking-exception" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="lz4 test zfs" +RESTRICT="!test? ( test )" + +DEPEND="dev-libs/libuv:= + lz4? ( app-arch/lz4:= )" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/raft-0.10.0-toggle-zfs.patch + "${FILESDIR}"/raft-0.11.3-disable-automagic-check-for-lz4.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + --enable-uv + + --disable-benchmark + --disable-debug + --disable-example + --disable-sanitize + --disable-static + + $(use_enable lz4) + $(use_enable test fixture) + + $(use_with zfs) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} |