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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Mon Mar 24 15:03:13 2014 UTC (6 years, 3 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +2 -2 lines
Stable for ppc, wrt bug #491978

(Portage version: 2.2.8-r1/cvs/Linux x86_64, RepoMan options: --include-arches="ppc", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2014 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-r4.ebuild,v 1.5 2014/03/19 15:18:58 ago Exp $
4
5 EAPI=5
6
7 inherit perl-module
8
9 DESCRIPTION="mytop - a top clone for mysql"
10 HOMEPAGE="http://jeremy.zawodny.com/mysql/mytop/"
11 SRC_URI="http://jeremy.zawodny.com/mysql/mytop/${P}.tar.gz"
12
13 LICENSE="|| ( Artistic GPL-2 )"
14 KEYWORDS="alpha amd64 ppc sparc x86"
15 SLOT="0"
16 IUSE=""
17
18 RDEPEND="dev-perl/DBD-mysql
19 virtual/perl-Getopt-Long
20 dev-perl/TermReadKey
21 virtual/perl-Term-ANSIColor
22 virtual/perl-Time-HiRes"
23 DEPEND="${RDEPEND}
24 >=sys-apps/sed-4"
25
26 PATCHES=( "${FILESDIR}/${PN}-1.6-global-status.patch"
27 "${FILESDIR}/${PN}-1.6-queries-vs-questions-mysql-5.0.76.patch"
28 "${FILESDIR}/${PN}-1.6-getopt-long-2.38-fixup.patch"
29 )
30 SRC_TEST="do"
31
32 src_install() {
33 perl-module_src_install
34 sed -i -r\
35 -e "s|socket( +)=> '',|socket\1=> '/var/run/mysqld/mysqld.sock',|g" \
36 "${D}"/usr/bin/mytop
37 }

  ViewVC Help
Powered by ViewVC 1.1.20