mirror of
				https://github.com/Ysurac/openmptcprouter-feeds.git
				synced 2025-03-09 15:40:03 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			36 lines
		
	
	
	
		
			981 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
	
		
			981 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:=speedtestc
 | 
						|
PKG_RELEASE:=2
 | 
						|
 | 
						|
PKG_SOURCE_URL:=https://github.com/mobrembski/SpeedTestC.git
 | 
						|
PKG_SOURCE_PROTO:=git
 | 
						|
PKG_SOURCE_VERSION:=64f8d8288cbbaa596a408fd3051a2b5bc831faa9
 | 
						|
PKG_MAINTAINER:=Ycarus (Yannick Chabanois) <ycarus@zugaina.org>
 | 
						|
PKG_LICENSE:=GPL-2.0
 | 
						|
PKG_BUILD_PARALLEL:=0
 | 
						|
 | 
						|
include $(INCLUDE_DIR)/package.mk
 | 
						|
 | 
						|
define Package/speedtestc
 | 
						|
	SECTION:=net
 | 
						|
	CATEGORY:=Network
 | 
						|
	MAINTAINER:=Ycarus (Yannick Chabanois) <ycarus@zugaina.org>
 | 
						|
	TITLE:=Client for SpeedTest.net infrastructure written in pure C99 standard using only POSIX libraries.
 | 
						|
	DEPENDS:=+libopenssl
 | 
						|
endef
 | 
						|
 | 
						|
define Package/speedtestc/install
 | 
						|
	$(INSTALL_DIR) $(1)/usr/sbin
 | 
						|
	$(INSTALL_BIN) $(PKG_BUILD_DIR)/SpeedTestC $(1)/usr/sbin/speedtestc
 | 
						|
endef
 | 
						|
 | 
						|
 | 
						|
$(eval $(call BuildPackage,$(PKG_NAME)))
 |