blob: 7de722fba8aa823e4a79b093244b954ca930f4b8 (
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
33
34
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=2
MODULE_AUTHOR=VIY
inherit perl-module
DESCRIPTION="Perl/XS module to use HTML Templates from CGI scripts"
SLOT="0"
LICENSE="|| ( Artistic LGPL-2 )"
KEYWORDS="~amd64 ~x86"
IUSE="pcre test"
RDEPEND="
pcre? ( dev-libs/libpcre )
virtual/perl-File-Spec
dev-perl/JSON
"
DEPEND="${RDEPEND}
test? ( virtual/perl-Test-Simple )"
SRC_TEST="do"
src_configure() {
if use pcre ; then
myconf="PCRE=1"
else
myconf="PCRE=0"
fi
perl-module_src_configure
}
|