diff options
Diffstat (limited to 'net-analyzer/xnetload/xnetload-1.11.3-r1.ebuild')
-rw-r--r-- | net-analyzer/xnetload/xnetload-1.11.3-r1.ebuild | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/net-analyzer/xnetload/xnetload-1.11.3-r1.ebuild b/net-analyzer/xnetload/xnetload-1.11.3-r1.ebuild index ff97f17f3de9..1efa53b23f62 100644 --- a/net-analyzer/xnetload/xnetload-1.11.3-r1.ebuild +++ b/net-analyzer/xnetload/xnetload-1.11.3-r1.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/xnetload/xnetload-1.11.3-r1.ebuild,v 1.1 2006/01/19 02:22:15 vanquirius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/xnetload/xnetload-1.11.3-r1.ebuild,v 1.2 2006/07/27 03:10:25 vanquirius Exp $ + +inherit toolchain-funcs DESCRIPTION="This little tool displays a count and a graph of the traffic over a specified network connection." HOMEPAGE="http://www.xs4all.nl/~rsmith/software/" @@ -8,19 +10,29 @@ SRC_URI="http://www.xs4all.nl/~rsmith/software/${P}.tar.gz" SLOT="0" LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc x86" DEPEND="|| ( ( >=x11-libs/libX11-1.0.0 >=x11-libs/libXmu-1.0.0 >=x11-libs/libXt-1.0.0 >=x11-libs/libXaw-1.0.1 ) - virtual/x11 )" + <virtual/x11-7 )" IUSE="" +src_unpack() { + unpack ${A} + cd "${S}" + sed -i -e "s:CC = gcc:CC = $(tc-getCC):" \ + -e "s:CFLAGS = -pipe -O2 -Wall:CFLAGS = ${CFLAGS} -Wall:" \ + -e "s:LFLAGS = -s -pipe:LFLAGS = ${LDFLAGS}:" \ + -e "s:gcc -MM:$(tc-getCC) -MM:" \ + -e "s:/usr/X11R6:/usr:g" Makefile || die "sed failed in Makefile" +} + src_install() { dobin xnetload doman xnetload.1 - dodoc README + dodoc README ChangeLog } |