summaryrefslogtreecommitdiff
blob: d886c595e2627e04eea8f63babe2ad8208a575b1 (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
# Copyright 1999-2008 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.5 2008/06/29 13:24:17 drac Exp $

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

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_install() {
	einstall || die "einstall failed."
	dodoc AUTHORS README NEWS
}