use ExtUtils::MakeMaker;
use strict;
-my $yazver = `yaz-config --version`;
-my $yazinc = `yaz-config --cflags threads`;
-my $yazlibs = `yaz-config --libs threads`;
+my $yazconf = "yaz-config";
+my $yazver = `$yazconf --version`;
+my $yazinc = `$yazconf --cflags threads`;
+my $yazlibs = `$yazconf --libs threads`;
if (!$yazver || !$yazinc || !$yazlibs) {
die qq[
ERROR: Unable to call script: yaz-config
}
chomp($yazver);
-check_version($yazver, "2.1.50");
+check_version($yazver, "4.0.0");
# For Windows use
# $yazinc = '-Ic:\yaz\include';
sub MY::postamble { "debian: debian/output
debian/output:
- dpkg-buildpackage -rfakeroot -d
+ dpkg-buildpackage -us -uc -rfakeroot -d
rm -rf debian/output
mkdir debian/output
mv ../libnet-z3950-zoom-perl* debian/output