mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			36 lines
		
	
	
	
		
			926 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
	
		
			926 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| #
 | |
| # Copyright (C) 2018-2019 Ycarus (Yannick Chabanois) <ycarus@zugaina.org>
 | |
| #
 | |
| # This is free software, licensed under the GNU General Public License v2.
 | |
| # See /LICENSE for more information.
 | |
| #
 | |
| 
 | |
| include $(TOPDIR)/rules.mk
 | |
| 
 | |
| PKG_NAME:=ipcalc
 | |
| PKG_RELEASE:=1
 | |
| 
 | |
| PKG_SOURCE_URL:=https://github.com/nmav/ipcalc.git
 | |
| PKG_SOURCE_PROTO:=git
 | |
| PKG_SOURCE_VERSION:=e9f88461f2585575d12fc95f5eeb9996b863f5af
 | |
| PKG_MAINTAINER:=Ycarus (Yannick Chabanois) <ycarus@zugaina.org>
 | |
| PKG_LICENSE:=GPL-2.0
 | |
| 
 | |
| include $(INCLUDE_DIR)/package.mk
 | |
| 
 | |
| MAKE_FLAGS += USE_GEOIP=no USE_MAXMIND=no
 | |
| 
 | |
| define Package/ipcalc
 | |
| 	SECTION:=net
 | |
| 	CATEGORY:=Network
 | |
| 	MAINTAINER:=Ycarus (Yannick Chabanois) <ycarus@zugaina.org>
 | |
| 	TITLE:=Modern tool to assist in network address calculations for IPv4 and IPv6.
 | |
| endef
 | |
| 
 | |
| define Package/ipcalc/install
 | |
| 	$(INSTALL_DIR) $(1)/usr/sbin
 | |
| 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/ipcalc $(1)/usr/sbin/ipcalc
 | |
| endef
 | |
| 
 | |
| 
 | |
| $(eval $(call BuildPackage,$(PKG_NAME)))
 |