-
Notifications
You must be signed in to change notification settings - Fork 699
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5e0f1ed
commit 1a4c76c
Showing
6 changed files
with
112 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
#!/bin/sh | ||
|
||
# | ||
# Minimal pg_config implementation as replacement for the native pg_config application | ||
# | ||
|
||
prefix=@SYSROOT@/usr | ||
|
||
case "$1" in | ||
--includedir) | ||
echo "$prefix/include" | ||
;; | ||
--pkgincludedir) | ||
echo "$prefix/include/postgresql" | ||
;; | ||
--includedir-server) | ||
echo "$prefix/include/postgresql/server" | ||
;; | ||
--libdir) | ||
echo "$prefix/lib" | ||
;; | ||
--version) | ||
echo "PostgreSQL @POSTGRESQL_VERSION@" | ||
;; | ||
--configure) | ||
echo "@POSTGRESQL_CONF_OPTIONS@" | ||
;; | ||
--pgxs) | ||
echo "$prefix/lib/postgresql/pgxs/src/makefiles/pgxs.mk" | ||
;; | ||
--cflags) | ||
echo "@TARGET_CFLAGS@" | ||
;; | ||
--cc) | ||
echo "@TARGET_CC@" | ||
;; | ||
--pkglibdir) | ||
echo "/usr/lib/postgresql" | ||
;; | ||
--bindir) | ||
echo "/usr/bin" | ||
;; | ||
--sharedir) | ||
echo "/usr/share/postgresql" | ||
;; | ||
--localedir) | ||
echo "/usr/share/locale" | ||
;; | ||
--docdir) | ||
echo "/usr/share/doc/postgresql" | ||
;; | ||
--mandir) | ||
echo "/usr/share/man" | ||
;; | ||
esac |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
DESCRIPTION = "A utility for tuning TimescaleDB" | ||
|
||
RDEPENDS_${PN}="timescaledb" | ||
|
||
GO_IMPORT = "github.com/timescale/timescaledb-tune" | ||
export GO111MODULE="off" | ||
|
||
inherit go | ||
|
||
SRC_URI = "\ | ||
git://${GO_IMPORT};protocol=https;rev=${TUNE_COMMIT};destsuffix=${BPN}-${PV}/src/${GO_IMPORT} \ | ||
git://github.com/fatih/color;protocol=https;rev=${COLOR_COMMIT};destsuffix=${BPN}-${PV}/src/github.com/fatih/color \ | ||
git://github.com/pbnjay/memory;protocol=https;rev=${MEMORY_COMMIT};destsuffix=${BPN}-${PV}/src/github.com/pbnjay/memory \ | ||
" | ||
LICENSE = "Apache-2.0" | ||
LIC_FILES_CHKSUM = "file://src/${GO_IMPORT}/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" | ||
|
||
FILES_${PN} += "${GOBIN_FINAL}/*" |
5 changes: 5 additions & 0 deletions
5
meta-oe/recipes-dbs/timescaledb-tune/timescaledb-tune_0.12.0.bb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
include timescaledb-tune.inc | ||
|
||
TUNE_COMMIT="f46f6580532c6c567f130ec8d008bf8f582c3cb5" | ||
COLOR_COMMIT="daf2830f2741ebb735b21709a520c5f37d642d85" | ||
MEMORY_COMMIT="974d429e7ae40c89e7dcd41cfcc22a0bfbe42510" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
DESCRIPTION = "TimescaleDB is a relational database for time-series data built as an extension for PostgreSQL." | ||
HOMEPAGE = "https://timescale.com" | ||
LICENSE = "APACHE-2.0 & TIMESCALE" | ||
LIC_FILES_CHKSUM = "file://${WORKDIR}/timescaledb-${PV}/LICENSE;md5=a6919544b6c76fc2e0debe84e8dfc7a5 \ | ||
file://${WORKDIR}/timescaledb-${PV}/LICENSE-APACHE;md5=2ee41112a44fe7014dce33e26468ba93 \ | ||
file://${WORKDIR}/timescaledb-${PV}/tsl/LICENSE-TIMESCALE;md5=1b3b062af96cae618d6ebd31df2712c8 \ | ||
" | ||
|
||
DEPENDS = "postgresql" | ||
RDEPENDS_${PN} = "postgresql" | ||
|
||
SRC_URI = "git://git@github.com/timescale/timescaledb.git;protocol=ssh;branch=${BRANCH};tag=${PV};destsuffix=timescaledb-${PV}" | ||
|
||
inherit cmake | ||
|
||
EXTRA_OECMAKE += " -DREGRESS_CHECKS=OFF" | ||
|
||
FILES_${PN} = "\ | ||
/usr/share/postgresql/extension/timescaledb* \ | ||
/usr/lib/postgresql/timescaledb* \ | ||
" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
require timescaledb.inc | ||
|
||
BRANCH="2.5.x" |