blob: 1f77eabafa3d0616be15cb2e4c8bc820b10d52ac (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit kde
MY_P=${P/ktrafficanalyzer/KTrafficAnalyzer}
DESCRIPTION="A tool to monitor the network traffic of a given interface"
HOMEPAGE="http://www.suselinuxsupport.de/"
SRC_URI="http://wiki.suselinuxsupport.de/uploads/files/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=""
RDEPEND=""
S=${WORKDIR}/${MY_P}
src_compile() {
kde_src_compile make
}
src_unpack(){
unpack "${A}"
cd "${S}"
sed -i -e 's@$(KDEDIR)/bin@$(DESTDIR)/$(KDEDIR)/bin@g' Makefile || die "Couldn't patch Makefile"
epatch "${FILESDIR}/${PV}-Makefile.patch"
}
src_install(){
emake install DESTDIR="${D}"
mv ${D}/share ${D}/usr/
}
|