summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/perl-cleaner')
-rw-r--r--app-admin/perl-cleaner/Manifest1
-rw-r--r--app-admin/perl-cleaner/perl-cleaner-2.21.ebuild37
2 files changed, 38 insertions, 0 deletions
diff --git a/app-admin/perl-cleaner/Manifest b/app-admin/perl-cleaner/Manifest
index 52ac41432610..42d5f6d7f6f2 100644
--- a/app-admin/perl-cleaner/Manifest
+++ b/app-admin/perl-cleaner/Manifest
@@ -1,2 +1,3 @@
DIST perl-cleaner-2.19.tar.bz2 6558 SHA256 03c50ffcfa70081501584de3fc33f634d7a0404ff6adee50c85af6323dc476fa SHA512 404fb5742af929a41f5033dbba066ebcfa1e1bee3f5340d3f732e3eb5cae4dd6d427cca8b6e1ec23e6154c14c36a2e6154be17ec98022422cf44c50984e74973 WHIRLPOOL 64816a6f28299370bc9e5a0469062746d7c6b93ad83f98e3a7656bd5515fb82e16375fadaf1c76b01a901220b4844ef236f744026dcf8489dea859621aec6ea8
DIST perl-cleaner-2.20.tar.bz2 6704 SHA256 ecc3b160d01466a5c9a070e12f3e11719bedb45a92a2ea0227d745be6b77cf64 SHA512 29888b4ee19a186ddaa1209d893ac57bed683b551546f63aeb874f8cc1fcab4ea0b0401247968aed0fb3b9a7d7196a803d6713e85b44cb94bc6642a44fbc4cf1 WHIRLPOOL 2ea9ca19738e8dd3bed076051efbccd1cced25b768ee8e95843c885b9057e1c6960247dd8f867b8ef7ab11ffffaddbedbcc01f20023203f4d3cbe7f09fd01e51
+DIST perl-cleaner-2.21.tar.bz2 6288 SHA256 6ea83c08ff83d59c3691435dbeafbd52680c57f2d8603288410a4eb4ba343e96 SHA512 b13d32bd09009c96b9074c786e8cb5da359b4eb8343b7818b88151cc1bb870cb29775e462e9e9d9f4f55f4040847cb9f7b5d2311e06124aaea5deb9053ea95ee WHIRLPOOL 27e5c9db0c371676842c814e7e6962333c828b261b798a380f23092afa7cd7ec1eaa550cca7103dd5691883945e4be31d2fea96db3b11ee1996aeaf290ab8b9d
diff --git a/app-admin/perl-cleaner/perl-cleaner-2.21.ebuild b/app-admin/perl-cleaner/perl-cleaner-2.21.ebuild
new file mode 100644
index 000000000000..4ce411e077f6
--- /dev/null
+++ b/app-admin/perl-cleaner/perl-cleaner-2.21.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="User land tool for cleaning up old perl installs"
+HOMEPAGE="https://www.gentoo.org/proj/en/perl/"
+
+if [[ "${PV}" == "9999" ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/gentoo-perl/perl-cleaner.git"
+else
+ SRC_URI="mirror://gentoo/${P}.tar.bz2 https://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.bz2"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+[[ "${PV}" == "9999" ]] && DEPEND="sys-apps/help2man"
+
+RDEPEND="app-shells/bash
+ || ( >=sys-apps/coreutils-8.15 app-misc/realpath sys-freebsd/freebsd-bin )
+ dev-lang/perl
+ || (
+ ( sys-apps/portage app-portage/portage-utils )
+ sys-apps/pkgcore
+ sys-apps/paludis
+ )
+"
+
+src_install() {
+ dosbin perl-cleaner
+ doman perl-cleaner.1
+}