diff options
author | Chema Alonso Josa <nimiux@gentoo.org> | 2017-06-12 21:38:29 +0200 |
---|---|---|
committer | Chema Alonso Josa <nimiux@gentoo.org> | 2017-06-12 21:38:29 +0200 |
commit | 6de73b0f2faa26f9db6a2fb20887d8bb315f4aed (patch) | |
tree | 30355cae4172e45ee64bfe8010acb2bbdf12e75c /app-admin/swatchdog | |
parent | app-admin/ansible: fixing bug 620536 (diff) | |
download | gentoo-6de73b0f2faa26f9db6a2fb20887d8bb315f4aed.tar.gz gentoo-6de73b0f2faa26f9db6a2fb20887d8bb315f4aed.tar.bz2 gentoo-6de73b0f2faa26f9db6a2fb20887d8bb315f4aed.zip |
app-admin/swatchdog: Avoid installing perl localpod and fixes packlist paths
Fixes bug #620886
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'app-admin/swatchdog')
-rw-r--r-- | app-admin/swatchdog/swatchdog-3.2.4-r1.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
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 000000000000..0d70a7a30b2d --- /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 +} |