1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit versionator perl-module
8 MY_P="${PN}-$(delete_version_separator 2)"
11 DESCRIPTION="Search normal or compressed mailbox using a regular expression or dates"
12 HOMEPAGE="https://github.com/coppit/grepmail"
13 SRC_URI="mirror://sourceforge/grepmail/${MY_P}.tar.gz"
17 KEYWORDS="amd64 ppc x86"
19 RESTRICT="!test? ( test )"
25 virtual/perl-Digest-MD5
26 >=dev-perl/Mail-Mbox-MessageParser-1.40.01
30 # test? ( dev-perl/Mail-Mbox-MessageParser )
32 # 100% failure on running
36 "${FILESDIR}"/5.30.33-fix_nonexistent_mailbox_test.patch
37 "${FILESDIR}"/5.30.33-midnight.patch
41 sed -i -e 's/use inc::Module::Install/use lib q[.]; use inc::Module::Install/' Makefile.PL ||
42 die "Can't patch Makefile.PL for 5.26 dot-in-inc"
43 perl-module_src_prepare