burak / CPAN-MP3-M3U-Parser
MP3 playlist parser for Perl
Clone this repository (size: 82.7 KB): HTTPS / SSH
$ hg clone http://bitbucket.org/burak/cpan-mp3-m3u-parser/
| commit 7: | 7363da30f56a |
| parent 6: | bfe7cc93fafe |
| branch: | default |
update for new builder
- View burak's profile
-
burak's public repos »
- CPAN-Padre-Plugin-HG
- CPAN-Net-Bitbucket
- CPAN-GD-SecurityImage
- CPAN-Lingua-TR-Numbers
- CPAN-Sys-Info-Driver-Windows
- CPAN-Task-Lingua-Any-Numbers
- CPAN-Time-Elapsed
- CPAN-Win32-ASP-CGI
- CPAN-Scalar-Util-Reftype
- CPAN-Parse-HTTP-UserAgent
- CPAN-Acme-CPANAuthors-Turkish
- CPAN-tools
- CPAN-Device-CableModem-Motorola-SB4200
- CPAN-Text-Template-Simple
- CPAN-CGI-Auth-Basic
- CPAN-GD-Thumbnail
- CPAN-Lingua-Any-Numbers
- CPAN-MP3-M3U-Parser
- CPAN-PHP-Session-DBI
- CPAN-Sys-Info
- CPAN-Sys-Info-Base
- CPAN-Sys-Info-Driver-BSD
- CPAN-Sys-Info-Driver-Linux
- CPAN-Sys-Info-Driver-Unknown
- CPAN-Test-Sys-Info
- Send message
11 months ago
Changed (Δ1.4 KB):
raw changeset »
Build.PL (4 lines added, 46 lines removed)
MANIFEST (0 lines added, 1 lines removed)
SPEC (14 lines added, 0 lines removed)
1 |
1 |
use strict; |
2 |
use Module::Build; |
|
3 |
use File::Spec; |
|
4 |
use |
|
2 |
use lib qw( builder ); |
|
3 |
use Build; |
|
5 |
4 |
|
6 |
my $class = Module::Build->subclass( |
|
7 |
class => 'MBSubclass', |
|
8 |
code => raw_subclass(), |
|
9 |
); |
|
10 |
||
11 |
my $mb = $class->new( |
|
12 |
module_name => 'MP3::M3U::Parser', |
|
13 |
license => 'perl', |
|
14 |
requires => { |
|
15 |
'File::Spec' => 0, |
|
16 |
'IO::File' => 0, |
|
17 |
'Cwd' => 0, |
|
18 |
'Text::Template' => 0, |
|
19 |
}, |
|
20 |
build_requires => { |
|
21 |
'Test::More' => '0.40', |
|
22 |
}, |
|
23 |
recommends => {}, |
|
24 |
sign => 0, |
|
25 |
dist_author => 'Burak Gursoy <burak@cpan.org>', |
|
26 |
create_license => 1, |
|
27 |
no_index => { |
|
28 |
directory => [ |
|
29 |
'tools', |
|
30 |
't', |
|
31 |
] |
|
32 |
}, |
|
33 |
meta_merge => { |
|
34 |
resources => { |
|
35 |
repository => 'http://bitbucket.org/burak/cpan-mp3-m3u-parser/', |
|
36 |
}, |
|
37 |
}, |
|
38 |
); |
|
39 |
||
5 |
my $mb = Build->new; |
|
6 |
$mb->change_versions(1); |
|
40 |
7 |
$mb->create_build_script; |
41 |
||
42 |
sub raw_subclass { |
|
43 |
my $file = File::Spec->catfile( 'tools', 'Build.pm' ); |
|
44 |
my $FH = IO::File->new; |
|
45 |
$FH->open( $file, 'r' ) or die "Can not open($file): $!"; |
|
46 |
my $rv = do { local $/; <$FH> }; |
|
47 |
close $FH; |
|
48 |
return $rv; |
|
49 |
} |
