X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=Makefile.PL;h=f906fc0e145ff3b2bd2fd6ec3d6682ab52f02493;hp=9db159261b6f016a4151c9f4d09606435c844a29;hb=HEAD;hpb=3834b8e219d0b4d96ec2bc02b3563a264a9b11b4 diff --git a/Makefile.PL b/Makefile.PL index 9db1592..f906fc0 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,25 +1,21 @@ -# $Id: Makefile.PL,v 1.12 2007-02-27 18:16:26 mike Exp $ use 5.008; use strict; use warnings; use ExtUtils::MakeMaker; -my $yazver = `yaz-config --version`; +my $yazver = `yaz-client -V`; if (!$yazver) { die qq[ -ERROR: Unable to call script: yaz-config -If you are using a YAZ installation from the Debian package "yaz", you -will also need to install "libyaz-dev" in order to build this module. +ERROR: Unable to call program: yaz-client +Perhaps YAZ is not installed. Program yaz-client is part of package yaz. ]; } chomp($yazver); -# 2.1.51 is the first version with support for polling arbitrarily -# many file descriptors: earlier YAZ versions had a hardwired -# 1024-element array so that working with more file descriptors than -# this would cause a segmentation fault. -check_version($yazver, "2.1.51"); +# 2.1.53 is the first version with ZOOM-C fixed to properly support +# reconnection in asynchronous mode. +check_version($yazver, "2.1.53"); # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. @@ -27,7 +23,7 @@ WriteMakefile( NAME => 'ZOOM::IRSpy', VERSION_FROM => 'lib/ZOOM/IRSpy.pm', # finds $VERSION PREREQ_PM => { - "Net::Z3950::ZOOM" => 1.18, + "Net::Z3950::ZOOM" => 1.19, "XML::LibXML::XPathContext" => 0.07, # For Web UI "XML::LibXML" => 1.58, "XML::LibXSLT" => 1.57, @@ -36,6 +32,7 @@ WriteMakefile( ($] >= 5.005 ? ## Add these new keywords supported since 5.005 (ABSTRACT_FROM => 'lib/ZOOM/IRSpy.pm', # retrieve abstract from module AUTHOR => 'Mike Taylor ') : ()), + EXE_FILES => [ 'bin/irspy.pl', 'bin/irspy-dump.pl' ], );