34 lines
894 B
Bash
34 lines
894 B
Bash
# Template file for 'cowsql'
|
|
pkgname=cowsql
|
|
version=1.15.6
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-example"
|
|
hostmakedepends="automake libtool pkg-config"
|
|
makedepends="sqlite-devel libuv-devel raft-devel"
|
|
short_desc="Embeddable, replicated and fault tolerant SQL engine"
|
|
maintainer="dkwo <npiazza@disroot.org>"
|
|
license="custom:LGPL-3.0-only-linking-exception"
|
|
homepage="https://github.com/cowsql/cowsql"
|
|
distfiles="https://github.com/cowsql/cowsql/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=723f7f8ede3bcb19c10a6c85c18a23ee34c6874cb4cf104c434bd69d6a916882
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
cowsql-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"
|
|
}
|
|
}
|