summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2022-07-14 08:22:30 +0300
committerJoonas Niilola <juippis@gentoo.org>2022-07-14 08:22:30 +0300
commit30ae7095d5a0ec034e15fdca9c1751470eba4d59 (patch)
tree353721517ee915297c100b92574a9c80ab17e2d6 /dev-libs/dqlite
parentsys-kernel/pf-sources: reword a comment, fix comment typo (diff)
downloadgentoo-30ae7095d5a0ec034e15fdca9c1751470eba4d59.tar.gz
gentoo-30ae7095d5a0ec034e15fdca9c1751470eba4d59.tar.bz2
gentoo-30ae7095d5a0ec034e15fdca9c1751470eba4d59.zip
dev-libs/dqlite: add 1.11.1
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.11.1.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/dqlite/Manifest b/dev-libs/dqlite/Manifest
index 654f5d084722..dec762cdfdc7 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.11.0.tar.gz 172030 BLAKE2B 2626f73f351abeedfed686838c9f74edd94b6fecb5fa61e5b90c86b37582975d86e42ebbb61934121912e1356f30a545e3fcc2236b5c5d5d4eee82b6412e0aaa SHA512 0dbd07bc3ccbb889d6b3a5fbf9e7658caeffe652666d819c1291420d1a18aa0c2e382dcc8bb3910f7d2d184b7e3a09d6ac557bf9400120712c2e6e2e41006dc8
+DIST dqlite-1.11.1.tar.gz 172024 BLAKE2B 48fb3c4eebc1f1a2d341254f9f0ad01f871b65fac727b132b80ac59eceb7d1ab95ac6118549ab39c8b032053a8791d6abef5e0d4856da7e45f00939b083463e5 SHA512 64d9a6548a4d75e3045adf5e31d54c508a02b255573225d32119225260c3d5219c4ac29c857ba054cd3fa3df54ee81cf88bbc2f9769839902f63f0f8c02cc6c7
diff --git a/dev-libs/dqlite/dqlite-1.11.1.ebuild b/dev-libs/dqlite/dqlite-1.11.1.ebuild
new file mode 100644
index 000000000000..0fd028b1b373
--- /dev/null
+++ b/dev-libs/dqlite/dqlite-1.11.1.ebuild
@@ -0,0 +1,43 @@
+# 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.14.0"
+DEPEND="${RDEPEND}
+ test? ( >=dev-libs/raft-0.13.0[lz4,test] )"
+BDEPEND="virtual/pkgconfig"
+
+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
+}