summaryrefslogtreecommitdiff
path: root/bigclown-leds/Makefile
blob: 5533588cbba4a443d8e0c2bb7983befe12c3e686 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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
PKG_RELEASE:=1
PKG_MAINTAINER:=Karel Kočí <cynerd@email.cz>
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)

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_DATA) ./files/bigclown-leds $(1)/usr/bin/bigclown-leds
	$(INSTALL_DIR) $(1)/etc/init.d
	$(INSTALL_BIN) ./files/init $(1)/etc/init.d/bigclown-leds
endef

define Build/Compile
	true
endef

$(eval $(call BuildPackage,$(PKG_NAME)))