void-packages/srcpkgs/tcping/template
2019-03-21 19:35:51 +01:00

19 lines
579 B
Bash

# Template file for 'tcping'
pkgname=tcping
version=1.3.5
revision=2
build_style=gnu-makefile
short_desc="Ping over a tcp connection"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="LGPL-2"
homepage="http://www.linuxco.de/tcping/tcping.html"
distfiles="http://pkgs.fedoraproject.org/repo/pkgs/$pkgname/$pkgname-$version.tar.gz/f9dd03c730db6999ca8beca479f078e3/$pkgname-$version.tar.gz"
checksum=1ad52e904094d12b225ac4a0bc75297555e931c11a1501445faa548ff5ecdbd0
do_configure() {
sed -i "s#^CCFLAGS=.*#CCFLAGS=$CFLAGS $LDFLAGS#" Makefile
}
do_install() {
vbin tcping
}