summaryrefslogtreecommitdiff
blob: 593ec07aa13dd58cf0fceaf744e1bf7a6eee8561 (plain)
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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysqltuner/mysqltuner-0_p49.ebuild,v 1.1 2010/01/31 07:45:30 robbat2 Exp $

DESCRIPTION="MySQLTuner is a high-performance MySQL tuning script"
HOMEPAGE="http://www.mysqltuner.com"
MY_PV="${PV/0_p}"
MY_P="${PN}-${MY_PV}"
SRC_URI="mirror://gentoo/${MY_P}.pl"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=""
RDEPEND=">=dev-lang/perl-5.6
	virtual/perl-Getopt-Long
	>=virtual/mysql-3.23"

src_unpack() {
	mkdir -p "${S}"
	cp -f "${DISTDIR}"/${MY_P}.pl "${S}"/${PN}
}

src_install() {
	dobin mysqltuner
}