void-packages/srcpkgs/dqlite/template
2019-03-15 03:19:31 -03:00

29 lines
823 B
Bash

# Template file for 'dqlite'
pkgname=dqlite
version=0.2.6
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 <camerontnorman@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/CanonicalLtd/dqlite"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=47d31550d970a12d25101c331896cfb855128c110d912f5da3371062d9ece52b
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"
}
}