blob: 81fbe34fed9be0c1e6c2bf707ec5db6def9ffbae (
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
|
# 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.8 2010/01/01 22:58:56 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? ( ${RDEPEND}
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
}
|