Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 34 lines (30 sloc) 1.026 kb
8c5ec99 @leto Initial skeleton from leto.net/modstarter.cgi
authored
1 use strict;
2 use warnings;
3 use Module::Build;
4
f241070 @leto Add a note to Build.PL about it being for convenience
authored
5 # NOTE: This Build.PL is to make it easier for people without dzil
6 # to install dependencies/etc. It may be out of sync with dist.ini
5cd0fe5 @leto [travis] Manually set a dist_version in Build.PL to make perl 5.12 happy
authored
7 # and dist_version needs to be manually updated, for now.
f241070 @leto Add a note to Build.PL about it being for convenience
authored
8
8c5ec99 @leto Initial skeleton from leto.net/modstarter.cgi
authored
9 my $builder = Module::Build->new(
10 module_name => 'Math::Primality',
11 license => 'perl',
12 dist_author => 'Jonathan Leto <jonathan@leto.net>',
2f9e739 @leto Various documentation cleanup
authored
13 dist_abstract => 'Advanced Primality Algorithms using GMP',
5cd0fe5 @leto [travis] Manually set a dist_version in Build.PL to make perl 5.12 happy
authored
14 dist_version => '0.05',
2f9e739 @leto Various documentation cleanup
authored
15 include_dirs => '',
8c5ec99 @leto Initial skeleton from leto.net/modstarter.cgi
authored
16 build_requires => {
c8bb4ec @leto Add repository info to CPAN metadata
authored
17 'Test::More' => 0,
3c40e12 @leto first working is_prime() with lots of tests
authored
18 'Test::Exception' => 0,
ff6c019 @leto Fix build_requires and requires in Build.PL
authored
19 },
88d5b04 @leto Update build metadata
authored
20 configure_requires => { 'Module::Build' => 0.38 },
ff6c019 @leto Fix build_requires and requires in Build.PL
authored
21 requires => {
c8bb4ec @leto Add repository info to CPAN metadata
authored
22 'Math::GMPz' => 0.26,
8c5ec99 @leto Initial skeleton from leto.net/modstarter.cgi
authored
23 },
5516798 @leto Fix add_to_cleanup in Build.PL
authored
24 add_to_cleanup => [ 'Math-Primality-*' ],
c8bb4ec @leto Add repository info to CPAN metadata
authored
25 meta_merge => {
26 resources => {
27 repository => 'http://github.com/leto/math--primality/tree/master'
28 },
29 },
8c5ec99 @leto Initial skeleton from leto.net/modstarter.cgi
authored
30 );
31
32 $builder->create_build_script();
2f9e739 @leto Various documentation cleanup
authored
33 print "Have a great day!\n";
Something went wrong with that request. Please try again.