summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2022-04-14 11:33:52 +0300
committerJoonas Niilola <juippis@gentoo.org>2022-04-14 11:54:34 +0300
commit6b299be23c290f5d771e8492f938d3a5df5afa4c (patch)
treec392bf6211f6763c931c722ddc14d5dc9f5638dd /dev-libs/dqlite
parentprofiles/arch/riscv: unmask USE=hugepages for sys-apps/nvme-cli (diff)
downloadgentoo-6b299be23c290f5d771e8492f938d3a5df5afa4c.tar.gz
gentoo-6b299be23c290f5d771e8492f938d3a5df5afa4c.tar.bz2
gentoo-6b299be23c290f5d771e8492f938d3a5df5afa4c.zip
dev-libs/dqlite: add 1.10.0
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs/dqlite')
-rw-r--r--dev-libs/dqlite/Manifest1
-rw-r--r--dev-libs/dqlite/dqlite-1.10.0.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-libs/dqlite/Manifest b/dev-libs/dqlite/Manifest
index 7ede42f46ab9..3e42485e3aee 100644
--- a/dev-libs/dqlite/Manifest
+++ b/dev-libs/dqlite/Manifest
@@ -1,2 +1,3 @@
+DIST dqlite-1.10.0.tar.gz 170908 BLAKE2B b65cd39a4eb175a016934a174f27043ff1e9fc5404f5324030ddadf15567390edb6388e42b83ab76a0d1d3262343f8a4407d7756b85af30cf281a4b5076f87cd SHA512 f7364d968d0d2aef0bbd59f55bb7f775b41d509b0d1af106357bdb470703e143081649742870491e5c75760d3f6159568395b4a671c446a26df744fd4f631d33
DIST dqlite-1.9.0.tar.gz 160222 BLAKE2B 7a6179e87ff8e37d19ab28a11bcd02531297095f83fffc936aa8b719be737cbba359b62daeea8de6d4bc599a4bf579a3471ab632fae27186d5f2358324b518df SHA512 eeb759cdca6ef44d3c8d7d032b277dab57c24acfab29ead218aecf826c71631fad22244cadcea7337002049857a8b5cb3b5dcd39d611e41a463128e1e09472e3
DIST dqlite-1.9.1.tar.gz 165507 BLAKE2B 275ad91e99335c311c55a51a2228d5674fe79ba2e0b4d1fbb00b62134cd2130c1131fefcde71985cb2a4c90b706ba7f9048818f0711e762f1437f0c263ed1927 SHA512 996767bfdcc4dd5f360b71b16c99b16c6dd3c630cc87746de2df6fc6e74dcdd4ecb8223097f5d85b9c78a4856440c83d3b067f6681f26487a88bb4f511cfe41c
diff --git a/dev-libs/dqlite/dqlite-1.10.0.ebuild b/dev-libs/dqlite/dqlite-1.10.0.ebuild
new file mode 100644
index 000000000000..a3fe7ae6c8ba
--- /dev/null
+++ b/dev-libs/dqlite/dqlite-1.10.0.ebuild
@@ -0,0 +1,42 @@
+# 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] )"
+
+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
+}