diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2012-10-09 11:31:07 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2012-10-09 11:31:07 +0200 |
commit | 81e909e9031d8f8a68101080f225b4a977ec0015 (patch) | |
tree | eeec2d7996a33f5031a47e83bc2ac73148c5dfb1 /lib/Net/MulkyID/Builder.pm | |
parent | d13e60f230ba540ee1df2e1495145307135006c6 (diff) |
Make use of Module::Build for the build script.
Diffstat (limited to 'lib/Net/MulkyID/Builder.pm')
-rw-r--r-- | lib/Net/MulkyID/Builder.pm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/Net/MulkyID/Builder.pm b/lib/Net/MulkyID/Builder.pm new file mode 100644 index 0000000..a1c000d --- /dev/null +++ b/lib/Net/MulkyID/Builder.pm @@ -0,0 +1,24 @@ +#! /usr/bin/env perl + +package Net::MulkyID::Builder; + +use Module::Build; + +our @ISA = 'Module::Build'; + +sub new { + my ($class, @args) = @_; + my $self = $class->SUPER::new(@args); + return bless $self, $class; + #my $self = $self->SUPER::new(); + #return $self; + #return bless {}, shift; +} + +sub ACTION_build { + my ($self, @args) = @_; + eval "use Net::MulkyID::Setup; setup();"; + #return SUPER::ACTION_build($self, @args); +} + +1; |