1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
11 DESCRIPTION="Take a line from a crontab and find out when events will occur"
16 RESTRICT="!test? ( test )"
18 RDEPEND="virtual/perl-Time-Local
21 virtual/perl-ExtUtils-MakeMaker
23 virtual/perl-Data-Dumper
25 virtual/perl-Test-Simple
30 perl-module_src_prepare
31 mkdir "${S}"/examples/ || die
32 mv "${S}/cron_event_predict.plx" "${S}/examples/cron_event_predict.plx" || die
33 sed -i 's|^cron_event_predict.plx|examples/cron_event_predict.plx|' "${S}"/MANIFEST || die
34 sed -i "/cron_event_predict.plx/d" Makefile.PL || die
37 perl-module_src_install
39 docompress -x /usr/share/doc/${PF}/examples