forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mysqltuner-1.6.0.ebuild
31 lines (23 loc) · 752 Bytes
/
mysqltuner-1.6.0.ebuild
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
MY_PN=MySQLTuner-perl
DESCRIPTION="MySQLTuner is a high-performance MySQL tuning script"
HOMEPAGE="http://www.mysqltuner.com/"
SRC_URI="https://github.com/major/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND=">=dev-lang/perl-5.6
virtual/perl-Getopt-Long
>=virtual/mysql-3.23"
S="${WORKDIR}/${MY_PN}-${PV}"
src_install() {
newbin "${PN}.pl" "${PN}"
# The passwords are meant to be fed to the script uncompressed.
docompress -x "/usr/share/doc/${PF}/basic_passwords.txt"
dodoc README.* USAGE.md CONTRIBUTING.md INTERNALS.md basic_passwords.txt
}