commit:     6de73b0f2faa26f9db6a2fb20887d8bb315f4aed
Author:     Chema Alonso Josa <nimiux <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 12 19:38:29 2017 +0000
Commit:     José María Alonso <nimiux <AT> gentoo <DOT> org>
CommitDate: Mon Jun 12 19:38:29 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6de73b0f

app-admin/swatchdog: Avoid installing perl localpod and fixes packlist paths

Fixes bug #620886

Package-Manager: Portage-2.3.5, Repoman-2.3.1

 app-admin/swatchdog/swatchdog-3.2.4-r1.ebuild | 35 +++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/app-admin/swatchdog/swatchdog-3.2.4-r1.ebuild 
b/app-admin/swatchdog/swatchdog-3.2.4-r1.ebuild
new file mode 100644
index 00000000000..0d70a7a30b2
--- /dev/null
+++ b/app-admin/swatchdog/swatchdog-3.2.4-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+GENTOO_DEPEND_ON_PERL_SUBSLOT=yes
+inherit perl-app
+
+DESCRIPTION="Simple log watcher"
+HOMEPAGE="https://sourceforge.net/projects/swatch/";
+SRC_URI="mirror://sourceforge/swatch/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="dev-perl/Date-Manip
+               dev-perl/Date-Calc
+               dev-perl/File-Tail
+               dev-perl/TimeDate
+               >=virtual/perl-Time-HiRes-1.12
+               !app-admin/swatch"
+
+src_install() {
+       emake install
+       newinitd "${FILESDIR}/${PN}-init" "${PN}"
+       newconfd "${FILESDIR}/${PN}-confd" "${PN}"
+       insinto /etc
+       doins "${FILESDIR}/${PN}rc"
+
+       # Clean up perl localpod and packlist (bug #620886)
+       perl_delete_localpod
+       perl_fix_packlist
+}

Reply via email to