You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
795 B

  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=uledd
  3. PKG_RELEASE:=1
  4. PKG_SOURCE_URL:=https://github.com/blogic/uledd.git
  5. PKG_SOURCE_PROTO:=git
  6. PKG_SOURCE_VERSION:=bc94c7e52009f7ec33b23652502b4754351d8040
  7. PKG_MIRROR_HASH:=23a407197d6a423bb0b32f381e93ad3676e15f07465d7b53c843a2b510c7c284
  8. PKG_MAINTAINER:=John Crispin <john@phrozen.org>
  9. PKG_LICENSE:=GPL-2.0
  10. CMAKE_INSTALL:=1
  11. include $(INCLUDE_DIR)/package.mk
  12. include $(INCLUDE_DIR)/cmake.mk
  13. define Package/uledd
  14. SECTION:=utils
  15. CATEGORY:=Utilities
  16. DEPENDS:=+libubox +libubus
  17. TITLE:=PWM/RGB LED ubus frontend
  18. endef
  19. define Package/uledd/install
  20. $(INSTALL_DIR) $(1)/sbin $(1)/etc/init.d
  21. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/uledd $(1)/sbin/
  22. $(INSTALL_BIN) ./files/uledd.init $(1)/etc/init.d/uledd
  23. endef
  24. $(eval $(call BuildPackage,uledd))