Alien-Lua

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

  module_name => 'Alien::Lua',
  license => 'perl',
  configure_requires => {
    'Alien::Base' => '0.003',
    'Module::Build' => 0.38,
    'Config' => '0',
    'Getopt::Long' => '0',
  },
  requires => {
    'perl' => '5.14.0',
    'parent' => '0',
    'Alien::Base' => 0,
  },
  dist_author => 'Steffen Mueller <smueller@cpan.org>',
  alien_name => 'lua',
  alien_repository => {
    protocol => 'local',
    location => 'inc',
    pattern  => qr/^lua-(\d[\d\.]*)\.tar\.gz$/,
  },
  alien_build_commands => [

META.json  view on Meta::CPAN

            "Alien::Base" : "0.003",
            "Config" : "0",
            "Getopt::Long" : "0",
            "Module::Build" : "0.38"
         }
      },
      "runtime" : {
         "requires" : {
            "Alien::Base" : "0",
            "File::ShareDir" : "1.00",
            "parent" : "0",
            "perl" : "v5.14.0"
         }
      }
   },
   "provides" : {
      "Alien::Lua" : {
         "file" : "lib/Alien/Lua.pm",
         "version" : "v5.2.2.2"
      }
   },

META.yml  view on Meta::CPAN

  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: 1.4
name: Alien-Lua
provides:
  Alien::Lua:
    file: lib/Alien/Lua.pm
    version: v5.2.2.2
requires:
  Alien::Base: 0
  File::ShareDir: 1.00
  parent: 0
  perl: v5.14.0
resources:
  license: http://dev.perl.org/licenses/
version: v5.2.2.2

lib/Alien/Lua.pm  view on Meta::CPAN

package Alien::Lua;
use 5.14.0;
use warnings;

our $VERSION = '5.2.2.2';
use parent 'Alien::Base';

our $CanUseLuaJIT;
BEGIN {
  $CanUseLuaJIT = 0;
  eval "require Alien::LuaJIT"
  and do {
    $CanUseLuaJIT = 1;
  };
}



( run in 0.518 second using v1.01-cache-2.11-cpan-4d50c553e7e )