new package: cowsql

This commit is contained in:
dkwo 2023-12-03 14:41:23 -05:00 committed by Andrew J. Hesford
parent 9f6d5a2e47
commit 204363d10e
3 changed files with 35 additions and 0 deletions

View File

@ -53,6 +53,7 @@ libcidn.so.1 glibc-2.38_1
libmvec.so.1 glibc-2.38_1
libcddgmp.so.0 cddlib-0.94m_1
libcdd.so.0 cddlib-0.94m_1
libcowsql.so.0 cowsql-1.15.4_1
libz.so.1 zlib-1.2.3_1
libb2.so.1 libb2-0.98.1_1
libbz2.so.1 bzip2-1.0.5_1

1
srcpkgs/cowsql-devel Symbolic link
View File

@ -0,0 +1 @@
cowsql

33
srcpkgs/cowsql/template Normal file
View File

@ -0,0 +1,33 @@
# 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"
}
}