Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dev-libs/dqlite/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST dqlite-1.18.5-b0156f0.tar.gz 514547 BLAKE2B d4c1eff764bc1e577f5fd773e85c5062b7ee0af75e84a7dcaa462b8d96f9813da64278653fafa3fe4229a58007b82072973b48703cfd3754646b0852d61e91bb SHA512 7155389f5154f2a1aa947c1f2bb21ac891cf49d30fa24c099ba81ab6586a23eb46295d415ccab3bae4624c20963451ea698ecd744308d65c720b1abd0c0beaf8
DIST dqlite-1.18.6-f6058ba.tar.gz 514677 BLAKE2B f752bb97bc9b84bc986357dc7f3ff2c8d7a841e02fd81c21617a50e40ea5d975e25a68ae88d136a16e8f3c3706a5274d354a57db654089498d13ec2dbb641f1a SHA512 a15038d68e138104a6952b83b76e5cb67ae57e5c39e47b98cdf772f204148e5a043b2b4783e0ef14a114443ff9935d656e89bd25d857c2267951267f7df17dcf
56 changes: 56 additions & 0 deletions dev-libs/dqlite/dqlite-1.18.6.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Distributed under the terms of the GNU General Public License v2
# Autogen by MARK Devkit

EAPI=7
inherit autotools

DESCRIPTION="Embeddable, replicated and fault tolerant SQL engine"
HOMEPAGE="https://dqlite.io"
SRC_URI="https://api.github.com/repos/canonical/dqlite/tarball/v1.18.6 -> dqlite-1.18.6-f6058ba.tar.gz"
LICENSE="LGPL-3-with-linking-exception"
SLOT="0"
KEYWORDS="*"
IUSE="+lz4"
BDEPEND="virtual/pkgconfig

"
RDEPEND="dev-db/sqlite:3
dev-libs/libuv:=
lz4? ( app-arch/lz4:= )

"
DEPEND="${RDEPEND}
"

post_src_unpack() {
mv canonical-dqlite-* ${S}
}


src_prepare() {
default
sed -i -e '/Werror \\/d' -e 's|-Werror||g' configure.ac
eautoreconf
}
src_configure() {
local myeconfargs=(
--disable-backtrace
--disable-debug
--disable-sanitize
--disable-static
# Linking to a separately-built libraft is no longer supported.
--enable-build-raft=yes
# Will build a bundled libsqlite3.so.
--enable-build-sqlite=no
$(use_with lz4)
)
econf "${myeconfargs[@]}"
}
src_install() {
default
find "${ED}" -name '*.la' -delete || die
}



# vim: filetype=ebuild