include $(TOPDIR)/rules.mk PKG_NAME:=uledd PKG_RELEASE:=2 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/blogic/uledd.git PKG_SOURCE_DATE:=2020-09-15 PKG_SOURCE_VERSION:=21d14d950bfe702b8c1f77de20f7529266dbd0f7 PKG_MIRROR_HASH:=c13f2df22bb84c831f4d2381df4cd3638a53b6823a7ef9dad13a64031c8c4df5 PKG_MAINTAINER:=John Crispin PKG_LICENSE:=LGPL-2.1-only PKG_LICENSE_FILES:=LICENSE include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/cmake.mk define Package/uledd SECTION:=utils CATEGORY:=Utilities DEPENDS:=+libubox +libubus +libblobmsg-json +libjson-c TITLE:=PWM/RGB LED ubus frontend endef define Package/uledd/install $(INSTALL_DIR) $(1)/sbin $(1)/etc/init.d $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/uledd $(1)/sbin/ $(INSTALL_BIN) ./files/uledd.init $(1)/etc/init.d/uledd endef $(eval $(call BuildPackage,uledd))