1 # Maintainer: Florian Pritz <bluewind@xinu.at>
6 pkgdesc="tests performance of a remote host by sending HTTP, TCP and UDP requests"
8 url="http://echoping.sourceforge.net/"
10 depends=(libidn popt libldap)
11 #source=(https://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz)
12 source=("https://pkgs.fedoraproject.org/repo/pkgs/echoping/echoping-$pkgver.tar.gz/991478532b56ab3b6f46ea9fa332626f/echoping-$pkgver.tar.gz"
13 link-echoping-to-libm.patch)
14 md5sums=('991478532b56ab3b6f46ea9fa332626f'
15 '3df2d0073af658579323d5f638de0289')
16 sha256sums=('1dfa4c45bf461b2379ff91773ed7136176e2abac9e85c26bc9654942b5155eac'
17 '4406771935c43591fcb31a9bc27ec342455556dda69686ea58dcf21626d30ca2')
20 cd "$srcdir/$pkgname-$pkgver"
21 patch -Np1 -i ../link-echoping-to-libm.patch
25 cd "$srcdir/$pkgname-$pkgver"
26 CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
27 ./configure --prefix=/usr --config-cache --with-ssl
32 cd "$srcdir/$pkgname-$pkgver"
34 make DESTDIR="$pkgdir" install