void-packages/srcpkgs/tcping/template
Colin Booth 4aae0b25b5 tcping: update to 1.3.6
Also update homepage and license.
2021-05-28 15:28:50 -04:00

23 lines
550 B
Bash

# Template file for 'tcping'
pkgname=tcping
version=1.3.6
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=a731f0e48ff931d7b2a0e896e4db40867043740fe901dd225780f2164fdbdcf3
do_configure() {
vsed -i "s#^CCFLAGS=.*#CCFLAGS=$CFLAGS $LDFLAGS#" Makefile
}
do_install() {
vbin tcping
}
post_install() {
vlicense LICENSE
}