blob: 095971a9b822dbb460b2902372f138496f45e9d2 (
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
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/ethereal/ethereal-0.8.14.ebuild,v 1.2 2000/12/19 01:12:38 achim Exp $
A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="ethereal"
SRC_URI="http://ethereal.zing.org/distribution/${A}
ftp://ethereal.zing.org/pub/ethereal/${A}"
HOMEPAGE="http://ethereal.zing.org/"
DEPEND=">=sys-libs/glibc-2.1.3
>=dev-libs/glib-1.2.8
>=x11-libs/gtk+-1.2.8
>=net-libs/libpcap-0.5.2
>=x11-base/xfree-4.0.1"
src_compile() {
cd ${S}
LDFLAGS="-L/usr/lib -lz" try ./configure --host=${CHOST} --prefix=/usr/X11R6 --sysconfdir=/etc/ethereal
try make
}
src_install() {
cd ${S}
dodir /usr/X11R6/lib/ethereal/lugins/${PV}
try make prefix=${D}/usr/X11R6 sysconfdir=${D}/etc/ethereal \
plugindir=${D}/usr/X11R6/lib/ethereal/plugins/${PV} install
dodoc AUTHORS COPYING ChangeLog INSTALL.* NEWS README* TODO
}
|