tcping: update to 1.3.6

Also update homepage and license.
This commit is contained in:
Colin Booth 2021-05-28 00:11:06 -07:00 committed by Andrew J. Hesford
parent 0421fae875
commit 4aae0b25b5

View file

@ -1,19 +1,23 @@
# Template file for 'tcping'
pkgname=tcping
version=1.3.5
revision=2
version=1.3.6
revision=1
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
license="MIT"
homepage="https://github.com/mkirchner/tcping"
distfiles="https://github.com/mkirchner/tcping/archive/refs/tags/${version}.tar.gz"
checksum=a731f0e48ff931d7b2a0e896e4db40867043740fe901dd225780f2164fdbdcf3
do_configure() {
sed -i "s#^CCFLAGS=.*#CCFLAGS=$CFLAGS $LDFLAGS#" Makefile
vsed -i "s#^CCFLAGS=.*#CCFLAGS=$CFLAGS $LDFLAGS#" Makefile
}
do_install() {
vbin tcping
}
post_install() {
vlicense LICENSE
}