diff options
author | 2022-12-13 16:23:30 +0200 | |
---|---|---|
committer | 2022-12-13 16:25:12 +0200 | |
commit | e7f23813dc4db72e495a8ae24cffec2d810ef95f (patch) | |
tree | 48b1b36123b65b7663254609d28e350e7fda9269 /dev-libs/dqlite/dqlite-1.13.0.ebuild | |
parent | dev-lang/python: Fix installing lib-dynload in 3.12 (diff) | |
download | gentoo-e7f23813dc4db72e495a8ae24cffec2d810ef95f.tar.gz gentoo-e7f23813dc4db72e495a8ae24cffec2d810ef95f.tar.bz2 gentoo-e7f23813dc4db72e495a8ae24cffec2d810ef95f.zip |
dev-libs/dqlite: add 1.13.0
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/dqlite/dqlite-1.13.0.ebuild')
-rw-r--r-- | dev-libs/dqlite/dqlite-1.13.0.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/dev-libs/dqlite/dqlite-1.13.0.ebuild b/dev-libs/dqlite/dqlite-1.13.0.ebuild new file mode 100644 index 000000000000..8a73c0b76fbb --- /dev/null +++ b/dev-libs/dqlite/dqlite-1.13.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="Embeddable, replicated and fault tolerant SQL engine" +HOMEPAGE="https://dqlite.io/ https://github.com/canonical/dqlite" +SRC_URI="https://github.com/canonical/dqlite/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-3-with-linking-exception" +SLOT="0/1.12.0" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-db/sqlite:3 + dev-libs/libuv:= + >=dev-libs/raft-0.16.0" +DEPEND="${RDEPEND} + test? ( >=dev-libs/raft-0.13.0[lz4,test] )" +BDEPEND="virtual/pkgconfig" + +PATCHES=( "${FILESDIR}"/dqlite-1.12.0-disable-werror.patch ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-backtrace + --disable-debug + --disable-sanitize + --disable-static + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} |