blob: 3756ce178585324002d2c6da1bb84b542a688190 (
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
41
42
43
44
45
46
47
48
49
50
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/etherape/etherape-0.9.0.ebuild,v 1.7 2004/10/04 23:06:00 pvdabeel Exp $
inherit eutils
IUSE=""
DESCRIPTION="A graphical network monitor for Unix modeled after etherman"
SRC_URI="mirror://sourceforge/etherape/${P}.tar.gz"
HOMEPAGE="http://etherape.sourceforge.net/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc sparc ~amd64"
DEPEND=">=gnome-base/libglade-2.0
>=gnome-base/libgnomeui-2.0
>=net-libs/libpcap-0.6.1
sys-devel/gettext
sys-devel/autoconf"
src_unpack() {
unpack ${A} ; cd ${S}
epatch ${FILESDIR}/${P}-libpcap-include.patch
epatch ${FILESDIR}/${P}-res_mkquery.patch
}
src_compile() {
aclocal
autoconf
econf || die
emake || die
}
src_install() {
einstall
# move shortcut to gnome2 compliant location
dodir /usr/share/applications
mv ${D}/usr/share/gnome/apps/Applications/etherape.desktop \
${D}/usr/share/applications
echo "Categories=GNOME;Application;Network;" >> ${D}/usr/share/applications/etherape.desktop
rm -rf ${D}/usr/share/gnome
dodoc ABOUT-NLS AUTHORS COPYING ChangeLog FAQ INSTALL NEWS OVERVIEW
dodoc README* TODO
}
|