use strict; use Module::Build; my $build = Module::Build->new ( module_name => 'Algorithm::SVMLight', license => 'perl', extra_linker_flags => '-L%%LOCALBASE%%/lib -lsvmlight', extra_compiler_flags => '-I%%LOCALBASE%%/include/svmlight -Wall', create_makefile_pl => 'passthrough', build_requires => { 'Module::Build' => '0.21', 'Test::More' => 0, }, sign => 1, ); $build->create_build_script;