void-packages/srcpkgs/dqlite/template
2018-12-13 10:21:59 -08:00

29 lines
823 B
Bash

# 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 <camerontnorman@gmail.com>"
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"
}
}