/[gentoo-x86]/dev-db/mytop/mytop-1.6-r1.ebuild
Gentoo

Contents of /dev-db/mytop/mytop-1.6-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Feb 15 01:38:59 2009 UTC (11 years, 4 months ago) by robbat2
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Had a bug in the first edition of the patch, roll out a new revision instead.
(Portage version: 2.2_rc23/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-db/mytop/mytop-1.6-r1.ebuild,v 1.1 2009/02/13 22:09:38 robbat2 Exp $
4
5 inherit perl-app
6
7 DESCRIPTION="mytop - a top clone for mysql"
8 HOMEPAGE="http://jeremy.zawodny.com/mysql/mytop/"
9 SRC_URI="http://jeremy.zawodny.com/mysql/mytop/${P}.tar.gz"
10
11 LICENSE="|| ( Artistic GPL-2 )"
12 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
13 SLOT="0"
14 IUSE=""
15
16 DEPEND="dev-perl/DBD-mysql
17 virtual/perl-Getopt-Long
18 dev-perl/TermReadKey
19 virtual/perl-Term-ANSIColor
20 virtual/perl-Time-HiRes
21 >=sys-apps/sed-4"
22
23 PATCHES="${FILESDIR}/${P}-global-status.patch
24 ${FILESDIR}/${P}-queries-vs-questions-mysql-5.0.76.patch"
25
26 src_install() {
27 perl-module_src_install
28 sed -i -r\
29 -e "s|socket( +)=> '',|socket\1=> '/var/run/mysqld/mysqld.sock',|g" \
30 "${D}"/usr/bin/mytop
31 }

  ViewVC Help
Powered by ViewVC 1.1.20