1 # Copyright 1999-2016 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
30 >=sys-apps/portage-2.0.0
34 perl-module_src_install
36 dodir "/var/tmp/g-cpan"
37 dodir "/var/log/g-cpan"
38 keepdir "/var/log/g-cpan"
42 elog "You may wish to adjust the permissions on /var/tmp/g-cpan"
43 elog "if you have users besides root expecting to use g-cpan."
44 elog "Please note that some CPAN packages need additional manual"
45 elog "parameters or tweaking, due to bugs in their build systems."