void-packages/srcpkgs/tcping/template

21 lines
612 B
Bash
Raw Normal View History

2016-12-08 22:19:11 +01:00
# Template file for 'tcping'
pkgname=tcping
version=1.3.5
revision=1
build_style=gnu-makefile
short_desc="Ping over a tcp connection"
maintainer="Enno Boland <gottox@voidlinux.eu>"
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 () {
vmkdir usr/bin
vinstall tcping 755 usr/bin
}