summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-plugins/wmnetload')
-rw-r--r--x11-plugins/wmnetload/Manifest1
-rw-r--r--x11-plugins/wmnetload/files/wmnetload-1.3-r3-norpath.patch59
-rw-r--r--x11-plugins/wmnetload/metadata.xml16
-rw-r--r--x11-plugins/wmnetload/wmnetload-1.3-r3.ebuild30
4 files changed, 106 insertions, 0 deletions
diff --git a/x11-plugins/wmnetload/Manifest b/x11-plugins/wmnetload/Manifest
new file mode 100644
index 000000000000..f91e5f57549d
--- /dev/null
+++ b/x11-plugins/wmnetload/Manifest
@@ -0,0 +1 @@
+DIST wmnetload-1.3.tar.gz 105588 SHA256 c2dcfb5075dd56fbdba9e92abc7854bd01c2652fc914490f9f7df07625275e64 SHA512 67f28100fefea54a21f82be3acde9a457779b2dd1eb1c2f0c074c0a956a8f7b43a6c7ed39b97f8bdd1f51adfc1c21d197c1a7dfd84d8aeb562e46d58fd06b3f7 WHIRLPOOL 185a55e2fae71791a22da969ec25baebde7e4981d05ab2091e168e4977980c4ee98a8161da3035b5c66c09d1aad057e89e4a37269fe5f601d8cad675f7dbf309
diff --git a/x11-plugins/wmnetload/files/wmnetload-1.3-r3-norpath.patch b/x11-plugins/wmnetload/files/wmnetload-1.3-r3-norpath.patch
new file mode 100644
index 000000000000..117015d242a5
--- /dev/null
+++ b/x11-plugins/wmnetload/files/wmnetload-1.3-r3-norpath.patch
@@ -0,0 +1,59 @@
+diff -Naur wmnetload-1.3/configure.in wmnetload-1.3-new/configure.in
+--- wmnetload-1.3/configure.in 2003-02-23 10:07:39.000000000 +0100
++++ wmnetload-1.3-new/configure.in 2009-01-20 09:24:20.000000000 +0100
+@@ -102,7 +102,6 @@
+ [inc_search_path=" -I $withval $inc_search_path"])
+
+ LIBRARY_SEARCH_PATH="$lib_search_path -L/usr/local/lib"
+-LIBRARY_RPATH=`echo "$LIBRARY_SEARCH_PATH" | sed 's/[ *]-L[ *]/:/g'`
+ HEADER_SEARCH_PATH="$inc_search_path -I/usr/local/include"
+
+ AC_SUBST(LIBRARY_SEARCH_PATH)
+@@ -122,12 +121,10 @@
+ ;;
+ *netbsd*)
+ OS=netbsd
+- LIBRARY_RPATH="$LIBRARY_RPATH:/usr/X11R6/lib"
+ LIBS="$LIBS -lkvm"
+ ;;
+ *freebsd*)
+ OS=freebsd
+- LIBRARY_RPATH="$LIBRARY_RPATH:/usr/X11R6/lib"
+ ;;
+ *)
+ echo ""
+@@ -143,22 +140,6 @@
+
+ AC_PATH_XTRA
+
+-dnl
+-dnl Hack in rpath -- yes, this sucks, and it even has a hidden dependency
+-dnl on the implementation of AC_PATH_XTRA. F@&* you, portability.
+-dnl
+-if test "$GCC" = yes; then
+- if test "ac_R_space" = no; then
+- RPATH="-Wl,\"-R$LIBRARY_RPATH\""
+- else
+- RPATH="-Wl,\"-R $LIBRARY_RPATH\""
+- fi
+-else
+- RPATH=
+- echo "WARNING: do not know how to set RPATH with this compiler"
+-fi
+-
+-AC_SUBST(RPATH)
+
+
+ X_LIBRARY_PATH=$x_libraries
+diff -Naur wmnetload-1.3/src/Makefile.am wmnetload-1.3-new/src/Makefile.am
+--- wmnetload-1.3/src/Makefile.am 2003-02-18 07:30:48.000000000 +0100
++++ wmnetload-1.3-new/src/Makefile.am 2009-01-20 09:24:58.000000000 +0100
+@@ -25,8 +25,6 @@
+ EXTRA_wmnetload_SOURCES = ifstat_linux.c ifstat_netbsd.c ifstat_solaris.c \
+ ifstat_freebsd.c
+
+-LDFLAGS = @RPATH@
+-
+ LDADD = @LIBRARY_SEARCH_PATH@ @XLFLAGS@ @XLIBS@ -ldockapp -lXpm -lm
+ CPPFLAGS = @CPPFLAGS@ @XCFLAGS@ -DVERSION=\"@VERSION@\"
+ INCLUDES = @HEADER_SEARCH_PATH@ -I$(top_srcdir)/xpm/@WN_LOOK@
diff --git a/x11-plugins/wmnetload/metadata.xml b/x11-plugins/wmnetload/metadata.xml
new file mode 100644
index 000000000000..bd0ed55627e7
--- /dev/null
+++ b/x11-plugins/wmnetload/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>desktop-dock</herd>
+ <longdescription>
+wmnetload is a network interface monitor dockapp for Window Maker. It is
+designed to fit well with dockapps like wmcpuload and wmmemmon. It tracks
+whether the interface is functioning and displays current network interface
+throughput, along with an auto-scaling graph of recent network activity (the
+graph separates upstream and downstream traffic load cleanly without resorting
+to colors).
+</longdescription>
+ <upstream>
+ <remote-id type="freshmeat">wmnetload</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/x11-plugins/wmnetload/wmnetload-1.3-r3.ebuild b/x11-plugins/wmnetload/wmnetload-1.3-r3.ebuild
new file mode 100644
index 000000000000..a1884858490f
--- /dev/null
+++ b/x11-plugins/wmnetload/wmnetload-1.3-r3.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit autotools eutils
+
+DESCRIPTION="Network interface monitor dockapp"
+HOMEPAGE="http://freshmeat.net/projects/wmnetload/"
+SRC_URI="ftp://truffula.com/pub/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE=""
+
+RDEPEND=">=x11-libs/libdockapp-0.6.1"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}/${PN}-${PVR}-norpath.patch"
+
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "einstall failed."
+ dodoc AUTHORS README NEWS
+}