summaryrefslogtreecommitdiff
blob: 3850ad048dd503e06252dd07904975336f695722 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/knetload/knetload-3.0_alpha2.ebuild,v 1.5 2005/12/10 13:30:42 flameeyes Exp $

inherit kde

# This is required to make sure rpm are buildable :/
MY_P="${PN}-2.9.92"

DESCRIPTION="Network Load Monitor applet for Kicker with SNMP capabilities"
HOMEPAGE="http://dev.gentoo.org/~flameeyes/kdeapps#knetload"
SRC_URI="http://digilander.libero.it/dgp85/files/${MY_P}.tar.bz2"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="snmp"

DEPEND="snmp? ( >=net-libs/libksnmp-0.3 )"

need-kde 3.2

S=${WORKDIR}/${MY_P}

src_unpack() {
	kde_src_unpack
	rm ${S}/configure
}

src_compile() {
	myconf="--enable-libsuffix= $(use_with snmp libksnmp)"

	kde_src_compile
}