diff options
author | Ian Delaney <idella4@gentoo.org> | 2013-08-29 16:04:28 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2013-08-29 16:04:28 +0000 |
commit | b774ad4d80f3facc6160d0aa2cdc1a1c565a6389 (patch) | |
tree | 0f3c1961adfb1a2885e00cc767c130562a180cbd /dev-db/mytop/mytop-1.6-r4.ebuild | |
parent | Bump per bug #465716. (diff) | |
download | gentoo-2-b774ad4d80f3facc6160d0aa2cdc1a1c565a6389.tar.gz gentoo-2-b774ad4d80f3facc6160d0aa2cdc1a1c565a6389.tar.bz2 gentoo-2-b774ad4d80f3facc6160d0aa2cdc1a1c565a6389.zip |
revbump -> EAPI 5, add invocation of test, remove old
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'dev-db/mytop/mytop-1.6-r4.ebuild')
-rw-r--r-- | dev-db/mytop/mytop-1.6-r4.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-db/mytop/mytop-1.6-r4.ebuild b/dev-db/mytop/mytop-1.6-r4.ebuild new file mode 100644 index 000000000000..7820c4bf7af1 --- /dev/null +++ b/dev-db/mytop/mytop-1.6-r4.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/mytop/mytop-1.6-r4.ebuild,v 1.1 2013/08/29 16:04:28 idella4 Exp $ + +EAPI=5 + +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="~alpha ~amd64 ~ppc ~sparc ~x86" +SLOT="0" +IUSE="" + +RDEPEND="dev-perl/DBD-mysql + virtual/perl-Getopt-Long + dev-perl/TermReadKey + virtual/perl-Term-ANSIColor + virtual/perl-Time-HiRes" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" + +PATCHES=( "${FILESDIR}/${PN}-1.6-global-status.patch" + "${FILESDIR}/${PN}-1.6-queries-vs-questions-mysql-5.0.76.patch" + "${FILESDIR}/${PN}-1.6-getopt-long-2.38-fixup.patch" + ) +SRC_TEST="do" + +src_install() { + perl-module_src_install + sed -i -r\ + -e "s|socket( +)=> '',|socket\1=> '/var/run/mysqld/mysqld.sock',|g" \ + "${D}"/usr/bin/mytop +} |