blob: c901359b3644161563c662475dcf32bcea8f019c (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mtr/mtr-0.49-r1.ebuild,v 1.1 2002/06/28 11:54:12 bangert Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Matt's TraceRoute. Excellent network diagnostic tool."
SRC_URI="ftp://ftp.bitwizard.nl/mtr/${P}.tar.gz"
HOMEPAGE="http://www.bitwizard.nl/mtr/"
DEPEND="virtual/glibc >=sys-libs/ncurses-5.2 gtk? ( =x11-libs/gtk+-1.2* )"
LICENSE="GPL-2"
SLOT="0"
src_compile() {
local myconf
use gtk || myconf="${myconf} --without-gtk"
./configure --host=${HOST} --prefix=/usr \
--mandir=/usr/share/man \
$myconf || die
make || die
}
src_install() {
# this binary is universal. ie: it does both console and gtk.
make prefix=${D}/usr mandir=${D}/usr/share/man install || die
dodoc AUTHORS COPYING ChangeLog FORMATS NEWS README SECURITY TODO
}
|