blob: b2f3b8a56dae5911f1f05cdb184f70eca9bc50cb (
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
29
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/pgtune/pgtune-0.9.3.ebuild,v 1.3 2013/05/10 08:19:14 patrick Exp $
EAPI=4
inherit eutils
DESCRIPTION="A postgresql settings tuning wizard"
HOMEPAGE="http://pgfoundry.org/projects/pgtune/"
SRC_URI="http://pgfoundry.org/frs/download.php/2449/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
RDEPEND="dev-lang/python"
DEPEND="${RDEPEND}"
src_install() {
mkdir -p "${D}/usr/bin"
mkdir -p "${D}/usr/share/doc/${P}"
cp "${S}/pgtune" "${D}/usr/bin/pgtune" || die
for i in COPYRIGHT README TODO pg_settings-8.4-32 pg_settings-8.4-64 pgtune-settingsdir.patch pgtune.spec postgresql.conf.sample; do
cp "${S}/${i}" "${D}/usr/share/doc/${P}" || die
done
docompress -x /usr/share/doc
}
|