2018-12-08 00:33:54 +01:00
|
|
|
# Template file for 'dqlite'
|
|
|
|
pkgname=dqlite
|
2019-03-15 06:15:58 +01:00
|
|
|
version=0.2.6
|
2018-12-08 00:33:54 +01:00
|
|
|
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"
|
2019-03-15 06:15:58 +01:00
|
|
|
checksum=47d31550d970a12d25101c331896cfb855128c110d912f5da3371062d9ece52b
|
2018-12-08 00:33:54 +01:00
|
|
|
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|