summaryrefslogtreecommitdiff
blob: 66741b8bf12eff5d60e93555a56a8e9917f419a2 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/mytop/mytop-1.4.ebuild,v 1.8 2005/05/25 13:59:05 mcummings Exp $

inherit perl-module

DESCRIPTION="mytop - a top clone for mysql"
HOMEPAGE="http://jeremy.zawodny.com/mysql/mytop/"
SRC_URI="http://jeremy.zawodny.com/mysql/mytop/${P}.tar.gz"

LICENSE="|| ( Artistic GPL-2 )"
KEYWORDS="~x86 amd64 ~ppc ~sparc ~alpha"
SLOT="0"
IUSE=""

DEPEND="dev-perl/DBD-mysql
	perl-core/Getopt-Long
	dev-perl/TermReadKey
	dev-perl/Term-ANSIColor
	dev-perl/Time-HiRes
	>=sys-apps/sed-4"

src_install() {
	perl-module_src_install
	sed -i "s|socket        => '',|socket        => '/var/run/mysqld/mysqld.sock',|g" ${D}/usr/bin/mytop
}