-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBuild.PL
More file actions
69 lines (57 loc) · 1.9 KB
/
Copy pathBuild.PL
File metadata and controls
69 lines (57 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/usr/bin/perl
# Build.PL
# Script to build and install this distribution
#
# $Id$
use strict;
use warnings;
use lib 'inc';
use My::Builder;
my $builder = My::Builder->new(
module_name => 'Video::FourCC::Info',
license => 'unrestricted',
dist_author => 'Jonathan Yu <frequency@cpan.org>',
dist_version_from => 'lib/Video/FourCC/Info.pm',
dynamic_config => 0,
create_readme => 0,
recursive_test_files => 1,
sign => 1,
create_packlist => 1,
requires => {
'perl' => 5.006,
# Database related modules
'DBI' => 0,
'DBD::SQLite' => 1.20,
},
build_requires => {
# User tests for good functionality
'Test::More' => 0.62,
'Test::NoWarnings' => 0.084,
# Database related modules
'DBI' => 0,
'DBD::SQLite' => 1.20,
},
recommends => {
# Video::Info for detecting FourCC used in files
# CPAN.pm cannot install Video::Info for some reason (due to a quirky
# distribution?), so we have to install Video::Info::Magic
'Video::Info::Magic' => 1.01,
# Optional module DateTime
'DateTime' => 0,
},
conflicts => {
},
add_to_cleanup => [ 'Video-FourCC-Info-*' ],
meta_merge => {
resources => {
# Custom resources (must begin with an uppercase letter)
Ratings => 'http://cpanratings.perl.org/d/Video-FourCC-Info',
# Official keys (homepage, license, bugtracker)
repository => 'http://svn.ali.as/cpan/trunk/Video-FourCC-Info',
bugtracker => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=Video-FourCC-Info',
license => 'http://edwardsamuels.com/copyright/beyond/articles/public.html',
},
},
);
$builder->add_build_element('dat'); # Make sure codecs.dat is copied
$builder->create_build_script();