diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-db/mytop/mytop-1.9.1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-db/mytop/mytop-1.9.1.ebuild')
-rw-r--r-- | dev-db/mytop/mytop-1.9.1.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-db/mytop/mytop-1.9.1.ebuild b/dev-db/mytop/mytop-1.9.1.ebuild new file mode 100644 index 000000000000..050fb8117112 --- /dev/null +++ b/dev-db/mytop/mytop-1.9.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit perl-module + +DESCRIPTION="mytop - a top clone for mysql" +HOMEPAGE="http://www.mysqlfanboy.com/mytop-3/" +SRC_URI="http://www.mysqlfanboy.com/mytop-3/${P}.tar.gz" + +LICENSE="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.9.1-global-status.patch" + "${FILESDIR}/${PN}-1.9.1-queries-vs-questions-mysql-5.0.76.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 +} |