commit: beb1315ff315dd03ac65a761c2674c7d683def53
parent: 58fbe741f556d999674b8e8f41597ce1a71306a2
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Mon, 29 Oct 2018 13:14:28 +0100
dev-db/timescaledb: New package based on ::defiance
Diffstat:
2 files changed, 44 insertions(+), 0 deletions(-)
diff --git a/dev-db/timescaledb/Manifest b/dev-db/timescaledb/Manifest
@@ -0,0 +1 @@
+DIST timescaledb-0.12.1.tar.gz 443232 BLAKE2B 09f72e4d1592046ba303ba9b7b271cf88d164884ae1112a0d42dfb50e457e16c35bdc2d7464c7898edf10716f092d0e99e1d2d93a3ec8ef03548fb9be67a6f39 SHA512 f29dfd85f555d6b42920c476eca86d6bf25c9c4f86574b210d4db535d268f80cf2c84917b0cb8f688e7874cf5d8cbbd6e1b4d1257bc33c9b67c78166cf759ce4
diff --git a/dev-db/timescaledb/timescaledb-0.12.1.ebuild b/dev-db/timescaledb/timescaledb-0.12.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+POSTGRES_COMPAT=( 9.6 10 )
+POSTGRES_USEDEP="server"
+
+inherit cmake-utils postgres-multi
+
+DESCRIPTION="A time-series database optimized for fast ingest and complex queries"
+HOMEPAGE="http://www.timescale.com/"
+SRC_URI="https://github.com/timescale/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="static-libs"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+ ${POSTGRES_DEP}
+"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ eapply_user
+ postgres-multi_src_prepare
+}
+src_configure() {
+ postgres-multi_foreach cmake-utils_src_configure
+}
+
+src_compile() {
+ postgres-multi_foreach cmake-utils_src_compile
+}
+
+src_install() {
+ postgres-multi_foreach cmake-utils_src_install
+
+ use static-libs || find "${ED}" -name '*.a' -delete
+}