Skip to content

Commit

Permalink
new package: cowsql
Browse files Browse the repository at this point in the history
  • Loading branch information
dkwo committed Dec 31, 2023
1 parent 01c5d2f commit 1b14965
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions common/shlibs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,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
Expand Down
1 change: 1 addition & 0 deletions srcpkgs/cowsql-devel
33 changes: 33 additions & 0 deletions srcpkgs/cowsql/template
Original file line number Diff line number Diff line change
@@ -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"
}
}

0 comments on commit 1b14965

Please sign in to comment.