summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-portage/find_cruft')
-rw-r--r--app-portage/find_cruft/Manifest1
-rw-r--r--app-portage/find_cruft/find_cruft-3.0.7.ebuild40
-rw-r--r--app-portage/find_cruft/metadata.xml16
3 files changed, 57 insertions, 0 deletions
diff --git a/app-portage/find_cruft/Manifest b/app-portage/find_cruft/Manifest
new file mode 100644
index 00000000..51a7fc3b
--- /dev/null
+++ b/app-portage/find_cruft/Manifest
@@ -0,0 +1 @@
+DIST find_cruft-3.0.7.tar.gz 10212 SHA256 d9acce43a8f0b7869c89c954117ae4590233e8f0aa824144e070ca02cab92efb SHA512 74852373901cb8f2c122b59d98f07f1d56fc3fea84433be65bc1d9cd602ca0444554bd407d10b2e8dc04836c5112866c43806cabe109dd62b577276a4c3f9103 WHIRLPOOL 29275a95130d9aff8a063b7047f556986f72c2004f12c5b013db7d230d66634eabee17b7358b26f1be42325e9ffa4e1bd289344896c60c0afae31b684e96f39c
diff --git a/app-portage/find_cruft/find_cruft-3.0.7.ebuild b/app-portage/find_cruft/find_cruft-3.0.7.ebuild
new file mode 100644
index 00000000..6d7ca106
--- /dev/null
+++ b/app-portage/find_cruft/find_cruft-3.0.7.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+RESTRICT="mirror"
+inherit eutils
+
+DESCRIPTION="find cruft files not managed by portage"
+HOMEPAGE="https://github.com/vaeth/find_cruft/"
+SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/perl-5.12"
+# || ( >=dev-lang/perl-5.9.4 >=virtual/perl-File-Spec-3.0 )
+# || ( >=dev-lang/perl-5.6.1 >=virtual/perl-Getopt-Long-2.24 )
+
+src_prepare() {
+ use prefix || sed -i \
+ -e '1s"^#!/usr/bin/env perl$"#!'"${EPREFIX}/usr/bin/perl"'"' \
+ -- bin/* || die
+ epatch_user
+}
+
+src_install() {
+ dobin bin/*
+ dodoc README
+ insinto /etc
+ doins -r etc/*
+ insinto /usr/share/zsh/site-functions
+ doins zsh/_*
+}
+
+pkg_postinst() {
+ optfeature "faster execution" 'app-portage/eix'
+}
diff --git a/app-portage/find_cruft/metadata.xml b/app-portage/find_cruft/metadata.xml
new file mode 100644
index 00000000..d66620e7
--- /dev/null
+++ b/app-portage/find_cruft/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>martin@mvath.de</email>
+ <name>Martin Väth</name>
+ </maintainer>
+ <upstream>
+ <maintainer>
+ <email>martin@mvath.de</email>
+ <name>Martin Väth</name>
+ </maintainer>
+ <bugs-to>mailto:martin@mvath.de</bugs-to>
+ <remote-id type="github">vaeth/find_cruft</remote-id>
+ </upstream>
+</pkgmetadata>