summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2014-12-14 00:33:42 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2014-12-14 00:33:42 +0000
commit78606a83f466111c8c3546777c39ffd1792aa0a4 (patch)
treee37d546bef42f84bb939f987e159e626556d3148 /app-portage
parentNew release, also to fix bug 490602; remove some old versions (diff)
downloadgentoo-2-78606a83f466111c8c3546777c39ffd1792aa0a4.tar.gz
gentoo-2-78606a83f466111c8c3546777c39ffd1792aa0a4.tar.bz2
gentoo-2-78606a83f466111c8c3546777c39ffd1792aa0a4.zip
Add live ebuild, bug 521490
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EBE6A336BE19039C!)
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/g-cpan/ChangeLog7
-rw-r--r--app-portage/g-cpan/g-cpan-9999.ebuild45
2 files changed, 51 insertions, 1 deletions
diff --git a/app-portage/g-cpan/ChangeLog b/app-portage/g-cpan/ChangeLog
index 9c0914233247..61b0e971a6bf 100644
--- a/app-portage/g-cpan/ChangeLog
+++ b/app-portage/g-cpan/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-portage/g-cpan
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/g-cpan/ChangeLog,v 1.87 2014/10/09 19:33:30 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/g-cpan/ChangeLog,v 1.88 2014/12/14 00:33:42 dilfridge Exp $
+
+*g-cpan-9999 (14 Dec 2014)
+
+ 14 Dec 2014; Andreas K. Huettel <dilfridge@gentoo.org> +g-cpan-9999.ebuild:
+ Add live ebuild, bug 521490
09 Oct 2014; Andreas K. Huettel <dilfridge@gentoo.org>
-g-cpan-0.16.4-r1.ebuild, -files/g-cpan-0.16.4-misc.patch:
diff --git a/app-portage/g-cpan/g-cpan-9999.ebuild b/app-portage/g-cpan/g-cpan-9999.ebuild
new file mode 100644
index 000000000000..a045b8ec47e8
--- /dev/null
+++ b/app-portage/g-cpan/g-cpan-9999.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-portage/g-cpan/g-cpan-9999.ebuild,v 1.1 2014/12/14 00:33:42 dilfridge Exp $
+
+EAPI=5
+
+inherit perl-module
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="git://github.com/gentoo-perl/g-cpan.git"
+ inherit git-r3
+ SRC_URI=""
+else
+ SRC_URI="mirror://gentoo/${P}.tar.gz
+ http://dev.gentoo.org/~chainsaw/distfiles/${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+fi
+
+DESCRIPTION="g-cpan: generate and install CPAN modules using portage"
+HOMEPAGE="http://www.gentoo.org/proj/en/perl/g-cpan.xml"
+
+LICENSE="|| ( Artistic GPL-2 )"
+SLOT="0"
+IUSE=""
+
+DEPEND="dev-lang/perl
+ >=dev-perl/yaml-0.60
+ dev-perl/Shell-EnvImporter
+ dev-perl/Log-Agent"
+RDEPEND="${DEPEND}"
+
+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."
+}