4 use ExtUtils::MakeMaker;
6 my $vergen = '../../../../tools/vergen';
10 $version = `$vergen --format version`;
12 if ($CHILD_ERROR == 0) {
13 print "Version $version\n";
14 open my $fh, '>', 'VERSION' || die 'Could not write VERSION file. Stopped';
21 local $INPUT_RECORD_SEPARATOR;
22 open my $fh, '<', 'VERSION' or die "Could not read VERSION file. Stopped";
26 if (! defined $version) {
27 die "Cannot read version from file. Stopped";
31 NAME => 'OpenXPKI::Client',
33 ABSTRACT_FROM => 'lib/OpenXPKI/Client.pm',
36 'Class::Std' => '0.0.8',
37 'OpenXPKI::Debug' => 0,
38 'OpenXPKI::Exception' => 0,
39 'OpenXPKI::Transport::Simple' => 0,
40 'OpenXPKI::Serialization::Simple' => 0,
41 'OpenXPKI::Serialization::JSON' => 0,