34 lines
894 B
Bash
34 lines
894 B
Bash
# Template file for 'cowsql'
|
|
pkgname=cowsql
|
|
version=1.15.4
|
|
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=f37ac775e8165ccf5cee4c981672072ac11e8d23c25c92e94bd25a299d170668
|
|
|
|
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"
|
|
}
|
|
}
|