annotate dev-db/pgpool-II/pgpool-II-2.2.4.ebuild @ 162:69c1065aa018

update graphicsmagick to 1.3.7
author holger
date Fri, 18 Sep 2009 13:03:34 +0200
parents cc901061d3c6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
119
64fce6b4ea9c fixed and updated ebuild for pgpool-II
holger@hoho.dyndns.org
parents:
diff changeset
1 # Copyright 1999-2007 Gentoo Foundation
64fce6b4ea9c fixed and updated ebuild for pgpool-II
holger@hoho.dyndns.org
parents:
diff changeset
2 # Distributed under the terms of the GNU General Public License v2
64fce6b4ea9c fixed and updated ebuild for pgpool-II
holger@hoho.dyndns.org
parents:
diff changeset
3
64fce6b4ea9c fixed and updated ebuild for pgpool-II
holger@hoho.dyndns.org
parents:
diff changeset
4 DESCRIPTION="New generation connection pool server for PostgreSQL"
64fce6b4ea9c fixed and updated ebuild for pgpool-II
holger@hoho.dyndns.org
parents:
diff changeset
5 HOMEPAGE="http://pgpool.projects.postgresql.org/"
64fce6b4ea9c fixed and updated ebuild for pgpool-II
holger@hoho.dyndns.org
parents:
diff changeset
6 SRC_URI="http://pgfoundry.org/frs/download.php/2108/${P}.tar.gz"
64fce6b4ea9c fixed and updated ebuild for pgpool-II
holger@hoho.dyndns.org
parents:
diff changeset
7
64fce6b4ea9c fixed and updated ebuild for pgpool-II
holger@hoho.dyndns.org
parents:
diff changeset
8 LICENSE="BSD"
64fce6b4ea9c fixed and updated ebuild for pgpool-II
holger@hoho.dyndns.org
parents:
diff changeset
9 SLOT="0"
64fce6b4ea9c fixed and updated ebuild for pgpool-II
holger@hoho.dyndns.org
parents:
diff changeset
10 KEYWORDS="~amd64 ~ppc ~sparc ~x86"
64fce6b4ea9c fixed and updated ebuild for pgpool-II
holger@hoho.dyndns.org
parents:
diff changeset
11 IUSE=""
64fce6b4ea9c fixed and updated ebuild for pgpool-II
holger@hoho.dyndns.org
parents:
diff changeset
12
153
c494760eb51c update pgpool-II to 2.2.3
holger
parents: 138
diff changeset
13 DEPEND="virtual/postgresql-base"
119
64fce6b4ea9c fixed and updated ebuild for pgpool-II
holger@hoho.dyndns.org
parents:
diff changeset
14
64fce6b4ea9c fixed and updated ebuild for pgpool-II
holger@hoho.dyndns.org
parents:
diff changeset
15 src_unpack() {
153
c494760eb51c update pgpool-II to 2.2.3
holger
parents: 138
diff changeset
16 unpack ${A}
c494760eb51c update pgpool-II to 2.2.3
holger
parents: 138
diff changeset
17 S="${WORKDIR}/${PN}-2.2"
c494760eb51c update pgpool-II to 2.2.3
holger
parents: 138
diff changeset
18 cd ${S}
c494760eb51c update pgpool-II to 2.2.3
holger
parents: 138
diff changeset
19 sed -i -e "/^logdir/s:/tmp:/var/run:g" pgpool.conf.sample || die
119
64fce6b4ea9c fixed and updated ebuild for pgpool-II
holger@hoho.dyndns.org
parents:
diff changeset
20 }
64fce6b4ea9c fixed and updated ebuild for pgpool-II
holger@hoho.dyndns.org
parents:
diff changeset
21
64fce6b4ea9c fixed and updated ebuild for pgpool-II
holger@hoho.dyndns.org
parents:
diff changeset
22 src_compile() {
153
c494760eb51c update pgpool-II to 2.2.3
holger
parents: 138
diff changeset
23 econf --with-pgsql=/usr/include/postgresql || die
c494760eb51c update pgpool-II to 2.2.3
holger
parents: 138
diff changeset
24 emake || die
119
64fce6b4ea9c fixed and updated ebuild for pgpool-II
holger@hoho.dyndns.org
parents:
diff changeset
25 }
64fce6b4ea9c fixed and updated ebuild for pgpool-II
holger@hoho.dyndns.org
parents:
diff changeset
26
64fce6b4ea9c fixed and updated ebuild for pgpool-II
holger@hoho.dyndns.org
parents:
diff changeset
27 src_install () {
153
c494760eb51c update pgpool-II to 2.2.3
holger
parents: 138
diff changeset
28 einstall || die
c494760eb51c update pgpool-II to 2.2.3
holger
parents: 138
diff changeset
29 mv ${D}/etc/pcp.conf.sample ${D}/etc/pcp.conf
c494760eb51c update pgpool-II to 2.2.3
holger
parents: 138
diff changeset
30 mv ${D}/etc/pgpool.conf.sample ${D}/etc/pgpool.conf
c494760eb51c update pgpool-II to 2.2.3
holger
parents: 138
diff changeset
31 mv ${D}/etc/pool_hba.conf.sample ${D}/etc/pool_hba.conf
c494760eb51c update pgpool-II to 2.2.3
holger
parents: 138
diff changeset
32 dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README* TODO
c494760eb51c update pgpool-II to 2.2.3
holger
parents: 138
diff changeset
33 newinitd "${FILESDIR}/pgpool-II.init" pgpool-II || die "Inserting init.d-file failed"
119
64fce6b4ea9c fixed and updated ebuild for pgpool-II
holger@hoho.dyndns.org
parents:
diff changeset
34 }