You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.2 KiB
44 lines
1.2 KiB
# Copyright 1999-2013 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/app-portage/g-cpan/g-cpan-0.16.4-r1.ebuild,v 1.9 2013/02/20 09:35:47 ago Exp $
|
|
|
|
EAPI=4
|
|
|
|
inherit perl-module
|
|
|
|
DESCRIPTION="g-cpan: generate and install CPAN modules using portage"
|
|
HOMEPAGE="http://www.gentoo.org/proj/en/perl/g-cpan.xml"
|
|
SRC_URI="mirror://gentoo/${P}.tar.gz
|
|
http://dev.gentoo.org/~robbat2/distfiles/${P}.tar.gz"
|
|
|
|
LICENSE="|| ( Artistic GPL-2 )"
|
|
SLOT="0"
|
|
KEYWORDS="alpha ~amd64 arm ~hppa ia64 ~mips ppc ppc64 s390 ~sh sparc x86"
|
|
IUSE=""
|
|
|
|
DEPEND="dev-lang/perl
|
|
>=dev-perl/yaml-0.60
|
|
dev-perl/Shell-EnvImporter
|
|
dev-perl/Log-Agent"
|
|
RDEPEND="${DEPEND}"
|
|
|
|
src_prepare() {
|
|
epatch "${FILESDIR}"/${P}-misc.patch
|
|
}
|
|
|
|
src_install() {
|
|
perl-module_src_install
|
|
diropts "-m0755"
|
|
dodir "/var/tmp/g-cpan"
|
|
keepdir "/var/tmp/g-cpan"
|
|
dodir "/var/log/g-cpan"
|
|
keepdir "/var/log/g-cpan"
|
|
}
|
|
|
|
pkg_postinst() {
|
|
elog "You may wish to adjust the permissions on /var/tmp/g-cpan"
|
|
elog "if you have users besides root expecting to use g-cpan."
|
|
elog "Please note that some CPAN packages need additional manual"
|
|
elog "parameters or tweaking, due to bugs in their build systems."
|
|
}
|