Package Details: gkrellm2-multiping 2.0.15-2

Git Clone URL: https://aur.archlinux.org/gkrellm2-multiping.git (read-only)
Package Base: gkrellm2-multiping
Description: Pings several machines and shows the current round-trip and status.
Upstream URL: http://members.dslextreme.com/users/billw/gkrellm/Plugins.html
Licenses: GPL
Submitter: jose1711
Maintainer: jose1711
Last Packager: jose1711
Votes: 3
Popularity: 0.013158
First Submitted: 2008-07-22 20:46
Last Updated: 2015-06-12 19:51

Dependencies (2)

Required by (0)

Sources (0)

Latest Comments

jose1711 commented on 2014-04-23 11:27

@dimytch: thank you, updated

dimytch commented on 2014-04-19 01:32

pkgname=gkrellm2-multiping
pkgver=2.0.15
pkgrel=1
pkgdesc="Pings several machines and shows the current round-trip and status."
arch=('i686' 'x86_64')
url="http://members.dslextreme.com/users/billw/gkrellm/Plugins.html"
license=('GPL')
depends=('gkrellm')
makedepends=('git')
_gitroot="https://github.com/jmakovicka/gkrellm-multiping.git"
_gitname="gkrellm-multiping"

build() {
cd ${srcdir}
if [ -d $_gitname ] ; then
( cd $_gitname && git pull origin )
msg "The local files are updated."
else
git clone $_gitroot $_gitname
fi
cd ${_gitname}
sed -i -e "/^INSTALLROOT/s/\/local//g" -e "s/ -Wl / /" Makefile
make
}

package() {
cd ${srcdir}/${_gitname}
install -D -c -s -m 644 multiping.so $pkgdir/usr/lib/gkrellm2/plugins/multiping.so
install -D -c -s -m 4755 pinger $pkgdir/usr/lib/gkrellm2/exec/pinger
}

jose1711 commented on 2012-06-25 16:52

@dimytch: should compile now with curr. version of gcc. jose

dimytch commented on 2012-06-25 13:45

pkgver=2.0.15
md5sums=('fcc27749ee49c3d21f0a3500dc89eb27')

got that error when compiling in both 2.0.13 and 2.0.15

gcc -Wl,--as-needed pinger.c `pkg-config glib-2.0 --cflags` -lpthread `pkg-config glib-2.0 --libs` -Wall -o pinger
gcc -Wall -fPIC -Wall `pkg-config gtk+-2.0 --cflags` \
-DHELPERDIR=\"/usr/lib/gkrellm2/exec\" -DVERSION=\"2.0.15\" -c multiping.c
gcc -shared -Wl -Wl,--as-needed multiping.o `pkg-config gtk+-2.0 --libs` -o multiping.so
gcc: ошибка: unrecognized command line option «-Wl»
make: *** [multiping.so] Ошибка 1