mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
38 lines
1 KiB
Text
38 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.2.3
|
|
pkgrel=1
|
|
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"
|
|
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() {
|
|
depends="postgresql$(pg_config --major-version)"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
|
|
}
|
|
|
|
sha512sums="
|
|
544d47093878c4ba02502f52dd4ac23cecd67c75635d825ad43f24ef19aa5de97b1d34e1e4e86f2f23028de363cb4979244ea3639caa8f142891d247d0187322 citus-10.2.3.tar.gz
|
|
"
|