influxdb: add new recipe and related dependency

influxdb is required by stx, so add the new recipe
and related dependency.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Babak Sarashki <Babak.SarAshki@windriver.com>
This commit is contained in:
Jackie Huang 2020-05-01 17:19:45 +08:00 committed by Babak Sarashki
parent add8aaf7c0
commit 639d712bb3
2 changed files with 40 additions and 0 deletions

View File

@ -7,6 +7,7 @@ LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
RDEPENDS_${PN} += " \
influxdb \
systemd \
python-influxdb \
"

View File

@ -0,0 +1,39 @@
#
## Copyright (C) 2019 Wind River Systems, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
SUMMARY = "InfluxDB is an open source time series platform"
DESCRIPTION = "\
InfluxDB is an open source time series platform. \
This includes APIs for storing and querying data, \
processing it in the background for ETL or monitoring \
and alerting purposes, user dashboards, and visualizing \
and exploring the data and more. \
"
HOMEPAGE = "https://www.influxdata.com/products/influxdb-overview/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
SRC_URI = "https://s3.amazonaws.com/influxdb/${BPN}_${PV}_x86_64.tar.gz"
SRC_URI[md5sum] = "da0cbcc5a521adc0e588327550441fbf"
SRC_URI[sha256sum] = "6d660007ca207f98eb847f4abf7f3060d1e6d239deeca9beaf833455a670fdb8"
S = "${WORKDIR}//${BPN}_${PV}_x86_64"
do_install() {
cp -av --no-preserve=ownership ${S}/* ${D}/
}
INSANE_SKIP_${PN}_append = "already-stripped ldflags"