blob: 356409cd8aa426e470fae8513b3ac532ad713da7 (
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-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DIST_AUTHOR=CHANSEN
DIST_VERSION=0.01
DIST_EXAMPLES=("eg/*")
inherit perl-module
DESCRIPTION="Low Level MultiPart MIME HTTP parser"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="
virtual/perl-Carp
virtual/perl-Scalar-List-Utils
"
DEPEND="${RDEPEND}
>=virtual/perl-ExtUtils-MakeMaker-6.590.0
test? (
dev-perl/Test-Deep
>=virtual/perl-Test-Simple-0.880.0
)
"
src_prepare() {
sed -i -r -e 's^use strict;^use strict; use lib "./";^' \
"${S}/Makefile.PL" || "Can't inject local lib"
perl-module_src_prepare
}
|