blob: 1c41c3a78703d2414880a774054eca64aa97d7b8 (
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
30
31
32
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit perl-module eutils postgresql
DESCRIPTION="The Perl DBD::Pg Module"
HOMEPAGE="http://cpan.org/modules/by-module/DBD/${P}.readme"
SRC_URI="mirror://cpan/authors/id/D/DB/DBDPG/${P}.tar.gz"
LICENSE="|| ( Artistic GPL-2 )"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE=""
DEPEND="virtual/perl-Test-Simple
>=virtual/perl-Test-Harness-2.03
>=dev-perl/DBI-1.45
dev-db/postgresql-base
dev-lang/perl"
mydoc="Changes README"
postgres_vars() {
POSTGRES_INCLUDE=$($(postgresql_get_pgconfig) --includedir)
POSTGRES_LIB=$($(postgresql_get_pgconfig) --libdir)
}
src_compile() {
postgres_vars
perl-module_src_compile
}
|