blob: 151022ed33c4bf5cc9686d24987ec3842195d4d7 (
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-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: George Shapovalov <george@gentoo.org>
# /space/gentoo/cvsroot/gentoo-x86/skel.ebuild,v 1.4 2002/03/12 16:05:09 tod Exp
S="${WORKDIR}/${P}"
DESCRIPTION="neat graphical traceroute displaying route on the globe"
SRC_URI="http://www.dtek.chalmers.se/~d3august/xt/dl/${P}.tar.gz
http://www.dtek.chalmers.se/~d3august/xt/dl/ndg_files.tar.gz"
HOMEPAGE="http://www.dtek.chalmers.se/~d3august/xt/"
SLOT="0"
LICENSE="GPL-2"
DEPEND="x11-base/xfree
=x11-libs/gtk+-1.2*
net-analyzer/traceroute
<x11-libs/gtkglarea-1.99.0
media-libs/gdk-pixbuf
net-misc/host"
RDEPEND="${DEPEND}"
src_compile() {
./configure \
--host=${CHOST} \
--prefix=/usr \
--with-host=/usr/bin/hostx \
--infodir=/usr/share/info \
--mandir=/usr/share/man || die "./configure failed"
emake || die
#make || die
}
src_install () {
#make DESTDIR=${D} install || die
make \
prefix=${D}/usr \
mandir=${D}/usr/share/man \
infodir=${D}/usr/share/info \
install || die
# Install documentation.
dodoc AUTHORS COPYING INSTALL NEWS README TODO
#Install NDG loc database
cd ${D}/usr/share/xtraceroute/
unpack "ndg_files.tar.gz"
}
|