mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
604b04ce94
Don't have a GUI but want to use LibreSpeed servers to test your Internet speed? librespeed-cli is a command line interface for LibreSpeed speed test backends, written in Go. Features: - Ping, Jitter, Download, Upload - IP address & ISP Information - Result sharing (telemetry) [optional] - Test with mutliple servers in a single run - Use your own server list or telemetry endpoints From Christoph Liebender, thanks ! ok kirill@
36 lines
638 B
Makefile
36 lines
638 B
Makefile
ONLY_FOR_ARCHS = ${GO_ARCHS}
|
|
|
|
COMMENT = command line client for LibreSpeed
|
|
|
|
MODGO_MODNAME = github.com/librespeed/speedtest-cli
|
|
MODGO_VERSION = v1.0.13
|
|
|
|
DISTNAME = librespeed-cli-${MODGO_VERSION}
|
|
|
|
CATEGORIES = benchmarks
|
|
|
|
HOMEPAGE = https://librespeed.org
|
|
|
|
MAINTAINER = Christoh Liebender <christoph@liebender.dev>
|
|
|
|
# LGPL-3.0
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
# uses pledge() and unveil()
|
|
WANTLIB += c pthread
|
|
|
|
MODULES = lang/go
|
|
|
|
SEPARATE_BUILD = Yes
|
|
|
|
# patches
|
|
WRKDIST = ${WRKSRC}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${MODGO_WORKSPACE}/bin/speedtest-cli \
|
|
${PREFIX}/bin/librespeed-cli
|
|
|
|
.include "modules.inc"
|
|
|
|
.include <bsd.port.mk>
|