From a81bc5429f6f7b743f36f813428a0bc935a28305 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Fri, 15 Mar 2019 17:41:02 +0100 Subject: Revert "Drop bigclown packages as they are now in upstream" This reverts commit 8f4ab15987359e4fa4c042e70d30cb093cefce18. But only bihclown-leds part. --- bigclown-leds/Makefile | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 bigclown-leds/Makefile diff --git a/bigclown-leds/Makefile b/bigclown-leds/Makefile new file mode 100644 index 0000000..006083e --- /dev/null +++ b/bigclown-leds/Makefile @@ -0,0 +1,36 @@ +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=bigclown-leds +PKG_VERSION:=1.0.1 +PKG_RELEASE:=2 +PKG_MAINTAINER:=Karel Kočí + +GIT_HASH:=a1236a39e7842ed24b3a9c986dba177d02be5114 +PKG_SOURCE_URL:=https://git.cynerd.cz/bigclown-leds/snapshot/ +PKG_SOURCE:=$(PKG_NAME)-$(GIT_HASH).tar.gz +PKG_HASH:=9bd59f33c78d1c56f691dd74ab9c16ad98cd1855caecacdc1724e89eec346f67 +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(GIT_HASH) + +include $(INCLUDE_DIR)/package.mk + +define Package/$(PKG_NAME) + TITLE:=BigCLown LEDs + DEPENDS:=+python3-paho-mqtt +endef + +define Package/$(PKG_NAME)/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/bigclown-leds $(1)/usr/bin/bigclown-leds + $(INSTALL_DIR) $(1)/etc/init.d + $(INSTALL_BIN) $(PKG_BUILD_DIR)/bigclown-leds.init $(1)/etc/init.d/bigclown-leds +endef + +define Build/Compile + true +endef + +$(eval $(call BuildPackage,$(PKG_NAME))) -- cgit v1.2.3