diff --git a/srcpkgs/dqlite/template b/srcpkgs/dqlite/template index b11c2e93bd..fa722256c7 100644 --- a/srcpkgs/dqlite/template +++ b/srcpkgs/dqlite/template @@ -1,24 +1,31 @@ # Template file for 'dqlite' pkgname=dqlite -version=0.2.6 +version=1.3.1 revision=1 build_style=gnu-configure -hostmakedepends="pkg-config autoconf automake libtool" -makedepends="libuv-devel sqlite-replication-devel" +hostmakedepends="pkg-config automake libtool" +makedepends="sqlite-replication-devel raft-devel libco-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" +maintainer="Cameron Nemo " +license="custom:LGPL-3.0-only-linking-exception" +homepage="https://github.com/canonical/dqlite" distfiles="${homepage}/archive/v${version}.tar.gz" -checksum=47d31550d970a12d25101c331896cfb855128c110d912f5da3371062d9ece52b +checksum=45c47a5dfc8689640fba50cfa3a204e1e0807cab565faf74da5ac7ebb89b0dba + +_libdir="/usr/lib/sqlite-replication" +LDFLAGS="-L${XBPS_CROSS_BASE}${_libdir} -Wl,-R${_libdir}" pre_configure() { autoreconf -i } +post_install() { + vlicense LICENSE +} + dqlite-devel_package() { - depends="sqlite-replication-devel dqlite>=${version}_${revision}" + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include