This removes PKG_VERSION and PKG_RELEASE from most Makefiles, as the value was never useful for Gluon packages; instead, PKG_VERSION is set to 1 in gluon.mk. It also removes two other weird definitions: - gluon-iptables-clamp-mss-to-pmtu replicating the old PKG_VERSION logic from gluon-core, but without the fixed PKG_BUILD_DIR to prevent unnessary rebuilds - gluon-hoodselector set GLUON_VERSION=3
		
			
				
	
	
		
			22 lines
		
	
	
		
			734 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			734 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
include $(TOPDIR)/rules.mk
 | 
						|
 | 
						|
PKG_NAME:=gluon-hoodselector
 | 
						|
 | 
						|
include ../gluon.mk
 | 
						|
 | 
						|
define Package/gluon-hoodselector
 | 
						|
  TITLE:=Automatically migrate nodes between domains.
 | 
						|
  DEPENDS:=+luaposix +libgluonutil +lua-math-polygon +libjson-c +gluon-site +micrond +luabitop @GLUON_MULTIDOMAIN
 | 
						|
  CONFLICTS:=+gluon-config-mode-domain-select
 | 
						|
endef
 | 
						|
 | 
						|
define Package/gluon-hoodselector/description
 | 
						|
  Hoodselector automatically detects in which domain the node is
 | 
						|
  located based on its geolocation settings. Domains require
 | 
						|
  bounding boxes defined as polygons or rectangles. Hoodselector
 | 
						|
  selects a domain from the list of known domains and migrate
 | 
						|
  towards it without requiring a reboot.
 | 
						|
endef
 | 
						|
 | 
						|
$(eval $(call BuildPackageGluon,gluon-hoodselector))
 |