Commit | Line | Data |
---|---|---|
e150c453 RS |
1 | use strict; |
2 | use warnings; | |
3 | ||
4 | use Module::Build; | |
5 | ||
6 | my $build = Module::Build->new( | |
7 | module_name => 'IO::Socket::IP', | |
8 | requires => { | |
9 | 'IO::Socket' => 0, | |
10 | 'Socket' => '1.97', | |
11 | }, | |
12 | build_requires => { | |
13 | 'Test::More' => '0.88', # done_testing | |
14 | }, | |
15 | auto_configure_requires => 0, # Don't add M::B to configure_requires | |
16 | license => 'perl', | |
17 | create_makefile_pl => 'traditional', | |
18 | create_license => 1, | |
19 | create_readme => 1, | |
20 | ); | |
21 | ||
22 | $build->create_build_script; |