33 lines
845 B
Bash
33 lines
845 B
Bash
# Template file for 'dqlite'
|
|
pkgname=dqlite
|
|
version=1.13.0
|
|
revision=2
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config automake libtool"
|
|
makedepends="sqlite-devel raft-devel"
|
|
short_desc="Distributed SQLite database using the Raft algorithm"
|
|
maintainer="Cameron Nemo <cam@nohom.org>"
|
|
license="custom:LGPL-3.0-only-linking-exception"
|
|
homepage="https://github.com/canonical/dqlite"
|
|
distfiles="https://github.com/canonical/dqlite/archive/v${version}.tar.gz"
|
|
checksum=14334a72389322d047576697f112da4cd6e1a5257d652d6162f195f2855fcd12
|
|
|
|
pre_configure() {
|
|
autoreconf -i
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
dqlite-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|