/[gentoo-x86]/dev-db/pgpool2/pgpool2-3.0.1.ebuild
Gentoo

Contents of /dev-db/pgpool2/pgpool2-3.0.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Feb 28 17:29:05 2011 UTC (9 years, 5 months ago) by scarabeus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Version bump. Drop older.

(Portage version: 2.2.0_alpha25/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/pgpool2-3.0.1.ebuild,v 1.1 2011/01/26 16:49:09 scarabeus Exp $
4
5 EAPI=3
6
7 inherit autotools-utils
8
9 MY_P="${PN/2/-II}-${PV}"
10
11 DESCRIPTION="Connection pool server for PostgreSQL"
12 HOMEPAGE="http://pgpool.projects.postgresql.org/"
13 SRC_URI="http://pgfoundry.org/frs/download.php/2841/${MY_P}.tar.gz"
14
15 LICENSE="BSD"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86"
18 IUSE="pam ssl static-libs"
19
20 RDEPEND="
21 dev-db/postgresql-base
22 pam? ( sys-auth/pambase )
23 ssl? ( dev-libs/openssl )
24 "
25 DEPEND="${DEPEND}
26 sys-devel/bison"
27
28 AUTOTOOLS_IN_SOURCE_BUILD="1"
29
30 PATCHES=(
31 "${FILESDIR}/${PN}-tmpdir.patch"
32 "${FILESDIR}/${PV}-fix_md5_malloc.patch"
33 )
34
35 DOCS=(
36 "NEWS"
37 "doc/where_to_send_queries.pdf"
38 )
39 HTML_DOCS=(
40 "doc/pgpool-en.html" "doc/pgpool.css"
41 "doc/tutorial-en.html"
42 )
43
44 S=${WORKDIR}/${MY_P}
45
46 src_configure() {
47 local myeconfargs=(
48 "--sysconfdir=${EROOT}/etc/${PN}"
49 "--disable-dependency-tracking"
50 "--disable-rpath"
51 $(use_with ssl openssl)
52 $(use_with pam)
53 )
54 autotools-utils_src_configure
55 }
56
57 src_install() {
58 autotools-utils_src_install
59 remove_libtool_files all
60 # move misc data to proper folder
61 mv "${ED}/usr/share/${PN/2/-II}" "${ED}/usr/share/${PN}" || die
62
63 newinitd "${FILESDIR}/${PN}.initd" ${PN} || die
64 }

  ViewVC Help
Powered by ViewVC 1.1.20