1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 if [[ ${PV} == "9999" ]] ; then
9 EGIT_REPO_URI="git://github.com/gentoo-perl/g-cpan.git"
13 SRC_URI="https://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.gz"
14 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
17 DESCRIPTION="g-cpan: generate and install CPAN modules using portage"
18 HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Perl/g-cpan"
20 LICENSE="|| ( Artistic GPL-2 )"
26 >=dev-perl/Shell-EnvImporter-1.70.0-r2
31 perl-module_src_install
33 dodir "/var/tmp/g-cpan"
34 keepdir "/var/tmp/g-cpan"
35 dodir "/var/log/g-cpan"
36 keepdir "/var/log/g-cpan"
40 elog "You may wish to adjust the permissions on /var/tmp/g-cpan"
41 elog "if you have users besides root expecting to use g-cpan."
42 elog "Please note that some CPAN packages need additional manual"
43 elog "parameters or tweaking, due to bugs in their build systems."