# Copyright 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2016, 2017, 2018 Kevin Ryde

# This file is part of File-Locate-Iterator.
#
# File-Locate-Iterator is free software; you can redistribute it
# and/or modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 3, or
# (at your option) any later version.
#
# File-Locate-Iterator is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with File-Locate-Iterator.  If not, see <http://www.gnu.org/licenses/>.


# Build-Depends could have the "maximum_tests" modules from META.yml
# for more tests, but they're optional author tests really and would
# just make the build tools drag in more stuff.
#
# The .deb here is meant for perl 5.10 with the File::Locate::Iterator
# XS code.  If you build on an older perl then you'll get the
# pure-perl code and in that case add libfile-fnmatch-perl to the
# Depends for File::FnMatch required by that code.

Source: libfile-locate-iterator-perl
Section: perl
Priority: optional
Build-Depends: cdbs, debhelper (>= 5), perl (>= 5.10), libtest-more-perl | perl (>= 5.6.2)
Maintainer: Kevin Ryde <user42_kevin@yahoo.com.au>
Standards-Version: 4.2.1
Homepage: http://user42.tuxfamily.org/file-locate-iterator/index.html
Bugs: mailto:user42_kevin@yahoo.com.au

Package: libfile-locate-iterator-perl
Architecture: any
Pre-Depends: ${misc:Pre-Depends}
Depends: perl (>= 5.6), libconstant-defer-perl, libfile-fnmatch-perl, libscalar-list-utils-perl | perl (>= 5.8), ${perl:Depends}, ${misc:Depends}, ${shlibs:Depends}
Recommends: libfile-map-perl (>= 0.35)
Suggests: libiterator-perl, libiterator-simple-perl, libmoosex-iterator-perl
Description: Read a "locate" database file with an iterator
 File::Locate::Iterator reads a "locate" database file, similar to
 File::Locate, but done as an iterator rather than callbacks.
 .
 The iteration is done stand-alone, or there's tie-in subclasses of
 Iterator.pm, Iterator::Simple and MooseX::Iterator too.
