mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			39 lines
		
	
	
	
		
			720 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
	
		
			720 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
#
 | 
						|
# Copyright (C) 2018 Ycarus (Yannick Chabanois) <ycarus@zugaina.org>
 | 
						|
#
 | 
						|
# This is free software, licensed under the GNU General Public License v3.
 | 
						|
# See /LICENSE for more information.
 | 
						|
#
 | 
						|
 | 
						|
include $(TOPDIR)/rules.mk
 | 
						|
 | 
						|
PKG_NAME:=omr-quota
 | 
						|
PKG_VERSION:=1.0
 | 
						|
PKG_RELEASE:=1
 | 
						|
 | 
						|
include $(INCLUDE_DIR)/package.mk
 | 
						|
 | 
						|
define Package/$(PKG_NAME)
 | 
						|
  SECTION:=net
 | 
						|
  CATEGORY:=Network
 | 
						|
  TITLE:=OpenMPTCProuter quota
 | 
						|
  PKGARCH:=all
 | 
						|
  DEPENDS:=+vnstat
 | 
						|
endef
 | 
						|
 | 
						|
define Package/$(PKG_NAME)/description
 | 
						|
  A module to enforce quota limit
 | 
						|
endef
 | 
						|
 | 
						|
define Build/Compile
 | 
						|
endef
 | 
						|
 | 
						|
define Package/$(PKG_NAME)/conffiles
 | 
						|
/etc/config/$(PKG_NAME)
 | 
						|
endef
 | 
						|
 | 
						|
define Package/$(PKG_NAME)/install
 | 
						|
	$(CP) ./files/* $(1)/
 | 
						|
endef
 | 
						|
 | 
						|
$(eval $(call BuildPackage,$(PKG_NAME)))
 |