summaryrefslogtreecommitdiff
blob: 9a2343ea49cefeb70e46caf419a7803de39f8fec (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmDownload/wmDownload-0.1.2a.ebuild,v 1.14 2004/11/24 04:40:40 weeve Exp $

S=${WORKDIR}/wmDownload

IUSE=""
DESCRIPTION="dockapp that displays how much data you've received on each eth and ppp device."
SRC_URI="mirror://sourceforge/wmdownload/${P}.tar.gz"
HOMEPAGE="http://wmdownload.sourceforge.net/"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 amd64 ppc ~sparc"

DEPEND="virtual/libc virtual/x11 x11-libs/docklib
	>=sys-apps/sed-4"

src_unpack() {
	unpack ${A} ; cd ${S}
	sed -i -e "s:-O2:$CFLAGS:" Makefile
}

src_compile() {
	emake || die
}

src_install () {
	strip wmDownload
	dodir /usr/bin/
	dobin wmDownload
}