All pastes #986085 Raw Edit

Unnamed

public text v1 · immutable
·published 2008-04-15 14:49 UTC
rendered paste body
pete@as:~/perl/Encode-Detect-1.00$ cat Build.PL
use Module::Build;
my $build = Module::Build->new
    (
     module_name => 'Encode::Detect',
     config => { cc => 'CC', ld => 'CC' },
     license => 'mozilla',
     requires => { 'Module::Build' => 0,
                   'ExtUtils::CBuilder' => 0,
               },
     create_makefile_pl => 'passthrough',
     c_source => 'src',
     pm_files => { 'Detect.pm' => 'lib/Encode/Detect.pm',
                   'Detector.pm' => 'lib/Encode/Detect/Detector.pm',
               },
     xs_files => { 'Detector.xs' => 'lib/Encode/Detect/Detector.xs' },
     dist_version_from => 'Detect.pm',
     extra_compiler_flags => ['-Iinclude'],
    );
$build->create_build_script;