vp-build/srcpkgs/tcping/template

24 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
}