added Module::Build script
authorMatthias Förste foerste@schlittermann.de
Tue, 24 Apr 2012 14:46:01 +0200
changeset 2 17009de92377
parent 1 26115d9d1c07
child 3 45710ce76452
added Module::Build script
.hgignore
Build.PL
--- a/.hgignore	Tue Apr 24 14:44:35 2012 +0200
+++ b/.hgignore	Tue Apr 24 14:46:01 2012 +0200
@@ -1,2 +1,5 @@
 syntax: glob
 wiegand-mkstruct.map.pl
+Build
+_build/
+blib/
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Build.PL	Tue Apr 24 14:46:01 2012 +0200
@@ -0,0 +1,14 @@
+# 'script_files' requires 0.18
+use Module::Build 0.18;
+my $build = Module::Build->new(
+  module_name => 'IUS::WiegandMkStruct',
+  license  => 'gpl',
+  requires => {
+    'Getopt::Long' => 0,
+    'Pod::Usage' => 0,
+    'Linux::Inotify2' => 0
+  },
+  script_files => ['wiegand-mkstruct'],
+  dist_version_from => 'wiegand-mkstruct'
+);
+$build->create_build_script;