1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-13 11:01:50 +00:00
openmptcprouter-feeds/speedtestc/Makefile
Ycarus (Yannick Chabanois) ff849c1b4b Update speedtestc
2019-08-21 07:25:28 +02:00

36 lines
1 KiB
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_URL:=https://github.com/egliu/SpeedTestC.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=e7c6a35f0ac83fa7afec24ad52c8281abd3533ad
#PKG_SOURCE_VERSION:=f7623914afabda582f146caab1081e601a34e882
PKG_MAINTAINER:=Ycarus (Yannick Chabanois) <ycarus@zugaina.org>
PKG_LICENSE:=GPL-2.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.
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)))