diff --git a/srcpkgs/tcping/template b/srcpkgs/tcping/template new file mode 100644 index 00000000000..77dee055004 --- /dev/null +++ b/srcpkgs/tcping/template @@ -0,0 +1,20 @@ +# 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 " +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 +}