All announce.d scripts have been moved to /lib/gluon/announce/announce.d The script /lib/gluon/announce/announce.lua will collect all information and output json.
		
			
				
	
	
		
			33 lines
		
	
	
		
			558 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			558 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
include $(TOPDIR)/rules.mk
 | 
						|
 | 
						|
PKG_NAME:=gluon-announce
 | 
						|
PKG_VERSION:=1
 | 
						|
PKG_RELEASE:=1
 | 
						|
 | 
						|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
 | 
						|
 | 
						|
include $(INCLUDE_DIR)/package.mk
 | 
						|
 | 
						|
define Package/gluon-announce
 | 
						|
  SECTION:=gluon
 | 
						|
  CATEGORY:=Gluon
 | 
						|
  DEPENDS:=+gluon-core +luci-lib-json +ethtool
 | 
						|
  TITLE:=Lua scripts announcing various information
 | 
						|
endef
 | 
						|
 | 
						|
define Build/Prepare
 | 
						|
	mkdir -p $(PKG_BUILD_DIR)
 | 
						|
endef
 | 
						|
 | 
						|
define Build/Configure
 | 
						|
endef
 | 
						|
 | 
						|
define Build/Compile
 | 
						|
endef
 | 
						|
 | 
						|
define Package/gluon-announce/install
 | 
						|
	$(CP) ./files/* $(1)/
 | 
						|
endef
 | 
						|
 | 
						|
$(eval $(call BuildPackage,gluon-announce))
 |