mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-19 09:15:30 +03:00
37 lines
1 KiB
Text
37 lines
1 KiB
Text
# Contributor: Michael Pirogov <vbnet.ru@gmail.com>
|
|
# Maintainer: Michael Pirogov <vbnet.ru@gmail.com>
|
|
pkgname=postgresql-citus
|
|
_projname=citus
|
|
pkgver=10.1.1
|
|
pkgrel=0
|
|
pkgdesc="Scalable PostgreSQL for multi-tenant and real-time analytics workloads"
|
|
url="https://github.com/citusdata/citus"
|
|
arch="all"
|
|
license="AGPL-3.0-only"
|
|
makedepends="autoconf postgresql-dev icu-dev lz4-dev zstd-dev"
|
|
provides="pg_cron=$pkgver-r$pkgrel"
|
|
install="$pkgname.post-install"
|
|
source="https://github.com/citusdata/citus/archive/v$pkgver/$_projname-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_projname-$pkgver"
|
|
options="!check" # tests requires running postgresql cluster
|
|
|
|
prepare() {
|
|
default_prepare
|
|
autoreconf -fi
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--prefix=/usr \
|
|
--without-libcurl
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
|
}
|
|
|
|
sha512sums="
|
|
eebe5e1f33039c2d2a93b8b7eceaa302274895b67e5b4ba1965ce92ac7452b67aade6ffc6eaf9204b55037246b62eb008d02acb18920d086e4e1473cf6684052 citus-10.1.1.tar.gz
|
|
"
|