@dimytch: thank you, updated
Search Criteria
Package Details: gkrellm2-multiping 2.0.15-2
Package Actions
| 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 |
| Category: | system |
| Licenses: | |
| Submitter: | jose1711 |
| Maintainer: | jose1711 |
| Last Packager: | None |
| Votes: | 2 |
| First Submitted: | 2008-07-22 20:46 |
| Last Updated: | 2014-04-23 11:26 |
Latest Comments
Comment by jose1711
Comment by dimytch
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
}
Comment by jose1711
@dimytch: should compile now with curr. version of gcc. jose
Comment by dimytch
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