mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@26c91a9
This commit is contained in:
12
package/timescaledb/Config.in
Normal file
12
package/timescaledb/Config.in
Normal file
@@ -0,0 +1,12 @@
|
||||
config BR2_PACKAGE_TIMESCALEDB
|
||||
bool "timescaledb"
|
||||
depends on BR2_PACKAGE_POSTGRESQL
|
||||
help
|
||||
TimescaleDB is an open-source database designed
|
||||
to make SQL scalable for time-series data.
|
||||
It is engineered up from PostgreSQL and packaged
|
||||
as a PostgreSQL extension, providing automatic
|
||||
partitioning across time and space (partitioning key),
|
||||
as well as full SQL support.
|
||||
|
||||
https://www.timescale.com/
|
||||
3
package/timescaledb/timescaledb.hash
Normal file
3
package/timescaledb/timescaledb.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 d0b7a153ff3e02ecf033a869ecdf4286f8610ea76140baa84928fc3a80223e99 timescaledb-1.7.4.tar.gz
|
||||
sha256 0378e0948feefd85f579319c74d6e2b671194037f550c7176ef26649d94c895b LICENSE
|
||||
36
package/timescaledb/timescaledb.mk
Normal file
36
package/timescaledb/timescaledb.mk
Normal file
@@ -0,0 +1,36 @@
|
||||
################################################################################
|
||||
#
|
||||
# timescaledb
|
||||
#
|
||||
################################################################################
|
||||
|
||||
TIMESCALEDB_VERSION = 1.7.4
|
||||
TIMESCALEDB_SITE = $(call github,timescale,timescaledb,$(TIMESCALEDB_VERSION))
|
||||
TIMESCALEDB_LICENSE = Apache-2.0
|
||||
TIMESCALEDB_LICENSE_FILES = LICENSE
|
||||
|
||||
TIMESCALEDB_DEPENDENCIES = postgresql
|
||||
|
||||
# The PG_CPPFLAGS, PG_CFLAGS, PG_LDFLAGS and PG_LIBS variables must be
|
||||
# non-empty, otherwise CMake will call the pg_config script, and our
|
||||
# pg_config replacement doesn't implement --cppflags --cflags
|
||||
# --ldflags and --libs.
|
||||
TIMESCALEDB_CONF_OPTS = \
|
||||
-DREGRESS_CHECKS=OFF \
|
||||
-DPG_PKGLIBDIR=lib/postgresql \
|
||||
-DPG_SHAREDIR=share/postgresql \
|
||||
-DPG_BINDIR=bin \
|
||||
-DPG_CPPFLAGS="$(TARGET_CPPFLAGS) " \
|
||||
-DPG_CFLAGS="$(TARGET_CFLAGS) " \
|
||||
-DPG_LDFLAGS="$(TARGET_LDFLAGS) " \
|
||||
-DPG_LIBS=" "
|
||||
|
||||
# There's no dependency on the OpenSSL package, because USE_OPENSSL
|
||||
# only tells if postgresql was built with OpenSSL support or not.
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
TIMESCALEDB_CONF_OPTS += -DUSE_OPENSSL=1
|
||||
else
|
||||
TIMESCALEDB_CONF_OPTS += -DUSE_OPENSSL=0
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user