blob: 19333b462a9f86d1546169fca840a99c5b81d10f (
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-2012 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.2 2012/08/31 17:52:35 mr_bones_ 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
}
|