@ -8,26 +8,33 @@ PKG_NAME:=bigclown-mqtt2influxdb
PKG_VERSION := 1.3.0
PKG_RELEASE := 1
PKG_SOURCE_URL := https://codeload.github.com/bigclownlabs/bch-mqtt2influxdb/tar.gz/v$( PKG_VERSION) ?
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_HASH := 56e1de1f83cb2c5fd5f280c29917c5c25021c36311075c12414733dd0d701697
PKG_LICENSE := MIT
PYPI_NAME := mqtt2influxdb
PKG_HASH := 1b4b3b13f5b2f092bcd27846d94e91ad6f05141b2daea5167a7d58b09a782639
PKG_MAINTAINER := Karel Kočí <cynerd@email.cz>
PKG_BUILD_DIR := $( BUILD_DIR) /bch-mqtt2influxdb-$( PKG_VERSION)
PKG_LICENSE := MIT
PKG_LICENSE_FILES := LICENSE
i n c l u d e . . / . . / . . / l a n g / p y t h o n / p y p i . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e . . / . . / . . / l a n g / p y t h o n / p y t h o n 3 - p a c k a g e . m k
d e f i n e P a c k a g e / $( PKG_NAME )
d e f i n e P a c k a g e / b i g c l o w n - m q t t 2 i n f l u x d b
SECTION:= utils
CATEGORY:= Utilities
SUBMENU:= BigClown
URL:= https://github.com/bigclownlabs/bch-mqtt2influxdb
TITLE:= BigCLown MQTT to Influxdb bridge
DEPENDS:= +python3-paho-mqtt +python3-yaml +python3-influxdb +python3-jsonpath-ng +python3-schema
URL:= https://github.com/bigclownlabs/bch-mqtt2influxdb
DEPENDS:= \
+python3-paho-mqtt \
+python3-yaml \
+python3-influxdb \
+python3-jsonpath-ng \
+python3-schema
VARIANT:= python3
e n d e f
d e f i n e P y 3 P a c k a g e / $( PKG_NAME ) / i n s t a l l
d e f i n e P y 3 P a c k a g e / b i g c l o w n - m q t t 2 i n f l u x d b / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin
$( CP) $( PKG_INSTALL_DIR) /usr/bin/* $( 1) /usr/bin/
@ -36,14 +43,9 @@ define Py3Package/$(PKG_NAME)/install
$( INSTALL_DATA) ./files/config.yml $( 1) /etc/bigclown-mqtt2influxdb.yml
e n d e f
d e f i n e P a c k a g e / $( PKG_NAME ) / c o n f f i l e s
d e f i n e P a c k a g e / b i g c l o w n - m q t t 2 i n f l u x d b / c o n f f i l e s
/ e t c / b i g c l o w n - m q t t 2 i n f l u x d b . y m l
e n d e f
d e f i n e B u i l d / C o m p i l e
sed -i 's/@@VERSION@@/$(PKG_VERSION)/' " $( PKG_BUILD_DIR) /setup.py "
$( call Py3Build/Compile/Default)
e n d e f
$( eval $ ( call Py 3Package ,$ ( PKG_NAME ) ) )
$( eval $ ( call BuildPackage ,$ ( PKG_NAME ) ) )
$( eval $ ( call Py 3Package ,bigclown -mqtt 2influxdb ) )
$( eval $ ( call BuildPackage ,bigclown -mqtt 2influxdb ) )