diff options
author | Joonas Niilola <juippis@gentoo.org> | 2023-11-09 08:23:36 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2023-11-09 08:32:24 +0200 |
commit | 384dada0960430dd640b1aa78565c090981b2d88 (patch) | |
tree | 439ceeda4a405e6f23bc44602ee23ee6e559b732 /dev-libs | |
parent | dev-libs/raft: add 0.18.2 (diff) | |
download | gentoo-384dada0960430dd640b1aa78565c090981b2d88.tar.gz gentoo-384dada0960430dd640b1aa78565c090981b2d88.tar.bz2 gentoo-384dada0960430dd640b1aa78565c090981b2d88.zip |
dev-libs/cowsql: add 1.15.4
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/cowsql/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/cowsql/cowsql-1.15.4.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-libs/cowsql/Manifest b/dev-libs/cowsql/Manifest index 8190cca3b7d5..5528d34eac1e 100644 --- a/dev-libs/cowsql/Manifest +++ b/dev-libs/cowsql/Manifest @@ -1,2 +1,3 @@ DIST cowsql-0_pre20230921.tar.gz 364458 BLAKE2B 4d4a6126a0a9059402c6591aeada96005964566e41a6ad0ce3b47c07d63ddf626b1d279e7847eb4677d44fea82a5b425fd8d5569d0b9545d37d4d903db3a6d0b SHA512 7297c6149287fe96fded43689f081b5b59b294e8b73067587a8255bde41671744a1b3ac541028565eaefd61d72195172ab82bd1f0ddcd6e8bad48af9db8db320 DIST cowsql-1.15.3.tar.gz 364221 BLAKE2B 83258056931251ee8913b1ac65b639b9825242503734b8f9054c618b1bc8b7d433a81923aba0d5d9e53eae08fc9236052ef0e8537b1771dc65eb30295a9ba90e SHA512 c22b8b29f62c65a6e6289424e4a168fbfc772c1058b378ba5d3300f29cdf8192f4818291be23df26551b5cabc46948798df4816dab83ed6c786b88fc2c85d320 +DIST cowsql-1.15.4.tar.gz 364167 BLAKE2B c633aa4ad0e55954702995003a1651a220bd6bd1b2a14675d50a04596e7652a3453b63e4e32c8d74cf34c4fae6c1f33cb5054bd347d80dc34032d215ee25bd8c SHA512 06d28723eac1a75cffef6b8e0d8e17696ddc8520345d3b5e1fdada86aa5ee1bbd5a66198a36ee7f7776559392e84908980fd54321ff9c8eb2729dec5a6ac9dd7 diff --git a/dev-libs/cowsql/cowsql-1.15.4.ebuild b/dev-libs/cowsql/cowsql-1.15.4.ebuild new file mode 100644 index 000000000000..496e9cff9648 --- /dev/null +++ b/dev-libs/cowsql/cowsql-1.15.4.ebuild @@ -0,0 +1,49 @@ +# Copyright 2020-2023 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 (fork of dqlite)" +HOMEPAGE="https://cowsql.dev/ https://github.com/cowsql/cowsql" +SRC_URI="https://github.com/cowsql/cowsql/archive/refs/tags/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.17.1:=" +DEPEND="${RDEPEND} + test? ( dev-libs/raft[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 + + # Will build a bundled libsqlite3.so. + --enable-build-sqlite=no + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die +} |