summaryrefslogtreecommitdiff
blob: 6b0718632ad5b27eadf97d700b20a165c29509a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmnetload/wmnetload-1.3-r2.ebuild,v 1.4 2006/01/15 17:56:34 nelchael Exp $

inherit eutils

IUSE=""

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="x86 amd64 ppc ppc64 sparc"

DEPEND="x11-libs/libdockapp"

src_unpack()
{
	unpack ${A}
	cd ${S}

	# Add support for libdockapp 0.5
	epatch ${FILESDIR}/add_support_for_libdockapp_0.5.patch

	epatch ${FILESDIR}/wmnetload-1.3-norpath.patch
}

src_compile()
{
	econf || die "configure failed"
	emake || die "parallel make failed"
}

src_install()
{
	einstall || die "make install failed"
	dodoc AUTHORS README NEWS
}