From f3e8ab9355f9a26bfd1cda59bbedf96210c570ad Mon Sep 17 00:00:00 2001 From: Cameron Nemo Date: Fri, 7 Dec 2018 15:33:54 -0800 Subject: [PATCH] New package: dqlite-0.2.5 --- common/shlibs | 1 + srcpkgs/dqlite-devel | 1 + srcpkgs/dqlite/template | 29 +++++++++++++++++++++++++++++ 3 files changed, 31 insertions(+) create mode 120000 srcpkgs/dqlite-devel create mode 100644 srcpkgs/dqlite/template diff --git a/common/shlibs b/common/shlibs index 8560e6d3b1..336834d09c 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3352,3 +3352,4 @@ libcsfml-system.so.2.5 CSFML-2.5_1 libcsfml-network.so.2.5 CSFML-2.5_1 libtokyocabinet.so.9 tokyocabinet-1.4.48_1 libdav1d.so.0 libdav1d0-0.1.0_1 +libdqlite.so.0 dqlite-0.2.1_1 diff --git a/srcpkgs/dqlite-devel b/srcpkgs/dqlite-devel new file mode 120000 index 0000000000..cc516e6887 --- /dev/null +++ b/srcpkgs/dqlite-devel @@ -0,0 +1 @@ +dqlite \ No newline at end of file diff --git a/srcpkgs/dqlite/template b/srcpkgs/dqlite/template new file mode 100644 index 0000000000..0e148420bd --- /dev/null +++ b/srcpkgs/dqlite/template @@ -0,0 +1,29 @@ +# Template file for 'dqlite' +pkgname=dqlite +version=0.2.5 +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config autoconf automake libtool" +makedepends="libuv-devel sqlite-replication-devel" +depends="sqlite-replication" +short_desc="Distributed SQLite database using the Raft algorithm" +maintainer="Cameron Nemo " +license="Apache-2.0" +homepage="https://github.com/CanonicalLtd/dqlite" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=47220295b1993b08550acc13fee3db3e61ad93c398af0fd3bc5b6c5cc8d0fff4 + +pre_configure() { + autoreconf -i +} + +dqlite-devel_package() { + depends="sqlite-replication-devel dqlite>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.a" + vmove "usr/lib/*.so" + } +}