blob: 98df7dcdf72c4aa44c1d8ef85f70902ff09e5002 (
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
35
36
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
MODULE_AUTHOR=SHAY
MODULE_VERSION=1.39
inherit depend.apache perl-module
DESCRIPTION="Test.pm wrapper with helpers for testing Apache"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc x86"
IUSE=""
DEPEND="virtual/perl-ExtUtils-MakeMaker"
# interactive, requires interaction with the live filesystem
SRC_TEST="skip"
need_apache
pkg_setup() {
perl_set_version
}
src_install() {
# This is to avoid conflicts with a deprecated Apache::Test stepping
# in and causing problems/install errors
if [ -f "${S}"/.mypacklist ];
then
rm -f "${S}"/.mypacklist
fi
perl-module_src_install
}
|