blob: 781bec41723edcac80489a5b0096d366fc6c4510 (
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-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/mtr/mtr-0.54.ebuild,v 1.5 2003/07/30 19:18:33 taviso Exp $
IUSE="gtk"
S=${WORKDIR}/${P}
DESCRIPTION="My TraceRoute. Excellent network diagnostic tool."
SRC_URI="ftp://ftp.bitwizard.nl/mtr/${P}.tar.gz"
HOMEPAGE="http://www.bitwizard.nl/mtr/"
DEPEND=">=sys-libs/ncurses-5.2
gtk? ( =x11-libs/gtk+-1.2* )"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 ~ppc sparc hppa alpha"
src_compile() {
local myconf
use gtk || myconf="${myconf} --without-gtk"
econf ${myconf} || die
emake || die
}
src_install() {
# this binary is universal. ie: it does both console and gtk.
make DESTDIR=${D} sbindir=/usr/bin install || die
dodoc AUTHORS COPYING ChangeLog FORMATS NEWS README SECURITY TODO
}
|