void-packages/srcpkgs/tcping/template

22 lines
549 B
Bash

# Template file for 'tcping'
pkgname=tcping
version=2.1.0
revision=1
build_style=gnu-makefile
short_desc="Ping over a tcp connection"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="MIT"
homepage="https://github.com/mkirchner/tcping"
distfiles="https://github.com/mkirchner/tcping/archive/refs/tags/${version}.tar.gz"
checksum=b8aa427420fe00173b5a2c0013d78e52b010350f5438bf5903c1942cba7c39c9
do_configure() {
vsed -i "s#^CCFLAGS=.*#CCFLAGS=$CFLAGS $LDFLAGS#" Makefile
}
do_install() {
vbin tcping
vman man/tcping.1
vlicense LICENSE
}