X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=Makefile.PL;h=f906fc0e145ff3b2bd2fd6ec3d6682ab52f02493;hp=d8ad6721777c23d5200ca4c73c59c0620c27c7c5;hb=bede31050ee10e9a8a3dd20f91ab9d62e0f5af66;hpb=28c09dc54c4249f83912d92fdcf0a58d5be36c93 diff --git a/Makefile.PL b/Makefile.PL index d8ad672..f906fc0 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -1,16 +1,14 @@ -# $Id: Makefile.PL,v 1.13 2007-03-07 22:15:39 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. ]; } @@ -25,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, @@ -34,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' ], );