diff options
author | 2022-07-13 14:36:35 +0300 | |
---|---|---|
committer | 2022-07-13 18:13:53 +0300 | |
commit | fd84948282bea4a63d105c5c01aa1329db66cf36 (patch) | |
tree | f31064fef3e9460af6f030b3b9f7962c3cd26efa /dev-libs/dqlite/dqlite-1.11.0.ebuild | |
parent | dev-util/cbindgen: stabilize 0.24.3 for x86 (diff) | |
download | gentoo-fd84948282bea4a63d105c5c01aa1329db66cf36.tar.gz gentoo-fd84948282bea4a63d105c5c01aa1329db66cf36.tar.bz2 gentoo-fd84948282bea4a63d105c5c01aa1329db66cf36.zip |
dev-libs/dqlite: add 1.11.0
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/dqlite/dqlite-1.11.0.ebuild')
-rw-r--r-- | dev-libs/dqlite/dqlite-1.11.0.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/dqlite/dqlite-1.11.0.ebuild b/dev-libs/dqlite/dqlite-1.11.0.ebuild new file mode 100644 index 000000000000..972892a7f794 --- /dev/null +++ b/dev-libs/dqlite/dqlite-1.11.0.ebuild @@ -0,0 +1,44 @@ +# 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" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-db/sqlite:3 + dev-libs/libuv:= + >=dev-libs/raft-0.13.0" +DEPEND="${RDEPEND} + test? ( >=dev-libs/raft-0.13.0[lz4,test] )" + +PATCHES=( "${FILESDIR}"/dqlite-1.11.0-fix-version-information.patch ) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-debug + --disable-sanitize + --disable-static + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} |