From bd4aeefe33e63f613512604e47bfca7b2187697d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 3 Nov 2019 16:06:58 +0000 Subject: gentoo resync : 03.11.2019 --- dev-db/mysqltuner/mysqltuner-1.7.17.ebuild | 35 ++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 dev-db/mysqltuner/mysqltuner-1.7.17.ebuild (limited to 'dev-db/mysqltuner/mysqltuner-1.7.17.ebuild') diff --git a/dev-db/mysqltuner/mysqltuner-1.7.17.ebuild b/dev-db/mysqltuner/mysqltuner-1.7.17.ebuild new file mode 100644 index 000000000000..f9caa472df48 --- /dev/null +++ b/dev-db/mysqltuner/mysqltuner-1.7.17.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN=MySQLTuner-perl + +DESCRIPTION="MySQLTuner is a high-performance MySQL tuning script" +HOMEPAGE="https://github.com/major/MySQLTuner-perl" +SRC_URI="https://github.com/major/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-lang/perl + virtual/mysql + virtual/perl-Getopt-Long" + +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_PN}-${PV}" + +DOCS=( USAGE.md CONTRIBUTING.md INTERNALS.md basic_passwords.txt vulnerabilities.csv ) + +src_install() { + einstalldocs + + newbin "${PN}.pl" "${PN}" + + # Passwords and vulnerabilities are meant to be fed + # to the script uncompressed. + docompress -x "/usr/share/doc/${PF}/basic_passwords.txt" "/usr/share/doc/${PF}/vulnerabilities.csv" +} -- cgit v1.2.3