summaryrefslogtreecommitdiff
blob: b1ae20d8a4451979e2b5f5c84e2b5d793b9a854a (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/CPAN-Mini-Phalanx/CPAN-Mini-Phalanx-0.01.ebuild,v 1.7 2010/01/01 22:54:03 tove Exp $

EAPI=2

MODULE_AUTHOR=SMPETERS
MY_PN=${PN}100
MY_P=${MY_PN}-${PV}
S=${WORKDIR}/${MY_P}
inherit perl-module

DESCRIPTION="create a minimal mirror of CPAN containing the modules in the Phalanx 100"

SLOT="0"
KEYWORDS="~amd64 ia64 sparc x86"
IUSE="test"

RDEPEND="dev-perl/CPAN-Mini"
DEPEND="test? ( dev-perl/Test-Pod
		dev-perl/Test-Pod-Coverage )"

SRC_TEST="do"

src_prepare() {
	perl-module_src_prepare
	sed -i 's,^L<Phalanx Project|,L<,' "${S}"/lib/CPAN/Mini/Phalanx100.pm || die
}