xfce4-netload-plugin: New port.

This commit is contained in:
Jose V Beneyto 2008-07-22 12:18:33 +02:00
parent 59594399bf
commit 4aaaa4f605
3 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,9 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/xfce4/
drwxr-xr-x root/root usr/lib/xfce4/panel-plugins/
-rwxr-xr-x root/root usr/lib/xfce4/panel-plugins/xfce4-netload-plugin
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/xfce4/
drwxr-xr-x root/root usr/share/xfce4/panel-plugins/
-rw-r--r-- root/root usr/share/xfce4/panel-plugins/netload.desktop

View File

@ -0,0 +1 @@
a15ee479089ba7703c5dde33ff439573 xfce4-netload-plugin-0.4.0.tar.bz2

View File

@ -0,0 +1,24 @@
# Description: this plugin displays the current load of the network interfaces
# URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-netload-plugin
# Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
# Packager: Till Biedermann, tillbiedermann at yahoo dot de
# Depends on: xfce4-panel
# Group: xfce4
name=xfce4-netload-plugin
version=0.4.0
release=1
source=(http://goodies.xfce.org/releases/$name/$name-$version.tar.bz2)
build() {
cd $name-$version
./configure --prefix=/usr \
--libexecdir=/usr/lib \
--disable-static \
--disable-debug
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/locale
find $PKG/usr/share/xfce4/panel-plugins -type f -name '*.desktop' \
-exec sed -r '/^(Comment|Name)\[/d' -i {} \;
}