You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
821 B
34 lines
821 B
# Copyright 1999-2021 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/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"
|
|
}
|