treewide: remove AUTORELEASE
[feed/packages.git] / utils / gl-puli-mcu / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=gl-puli-mcu
4 PKG_VERSION:=1
5 PKG_RELEASE:=1
6
7 PKG_MAINTAINER:=Nuno Goncalves <nunojpg@gmail.com>
8 PKG_LICENSE:=GPL-3.0-or-later
9
10 include $(INCLUDE_DIR)/package.mk
11 include $(INCLUDE_DIR)/cmake.mk
12
13 define Package/gl-puli-mcu
14 SECTION:=utils
15 CATEGORY:=Utilities
16 TITLE:=GL.iNet GL-XE300 (Puli) power monitoring support
17 DEPENDS:=+kmod-usb-serial-ch341 +libubus +libubox
18 endef
19
20 define Package/gl-puli-mcu/description
21 Interfaces with GL-XE300 (Puli) power monitoring MCU over
22 a USB to UART adapter present on the device and provides
23 battery SOC, temperature, charging state and cycle count at
24 ubus battery/info.
25 endef
26
27 define Package/gl-puli-mcu/install
28 $(CP) ./files/* $(1)/
29 $(INSTALL_DIR) $(1)/usr/sbin
30 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/gl-puli-mcu $(1)/usr/sbin/
31 endef
32
33 $(eval $(call BuildPackage,gl-puli-mcu))