From dfed88e02b28fa169f35192c4815a18b243b312f Mon Sep 17 00:00:00 2001 From: Ian Beckwith Date: Sun, 26 Sep 2010 08:47:54 +0100 Subject: [PATCH] use Module::Build --- Build.PL | 21 +++++++++++++++++++++ MANIFEST | 18 ++++++++++++++++++ sbin/id3fsd | 1 + 3 files changed, 40 insertions(+) create mode 100644 Build.PL create mode 100644 MANIFEST diff --git a/Build.PL b/Build.PL new file mode 100644 index 0000000..1e24afc --- /dev/null +++ b/Build.PL @@ -0,0 +1,21 @@ +use Module::Build; + +my $build = Module::Build->new + ( + dist_name => "id3fs", + dist_version_from => 'sbin/id3fsd', + license => "gpl", + requires => + { + 'perl' => '5.10.0', + 'Fuse' => 0, + 'DBI' => 0, + 'DBD::SQLite' => 0, + }, + sbin_files => { 'sbin/id3fsd' => 'sbin/id3fsd' }, + ); + +$build->add_build_element('sbin'); +$build->create_build_script(); + + diff --git a/MANIFEST b/MANIFEST new file mode 100644 index 0000000..eaf9e04 --- /dev/null +++ b/MANIFEST @@ -0,0 +1,18 @@ +MANIFEST +Build.PL +COPYING +sbin/id3fsd +bin/id3fs-index +lib/ID3FS/AudioFile/Ogg.pm +lib/ID3FS/AudioFile/Mp3.pm +lib/ID3FS/AudioFile/Flac.pm +lib/ID3FS/PathElement/Tag.pm +lib/ID3FS/PathElement/File.pm +lib/ID3FS/PathElement/Artist.pm +lib/ID3FS/PathElement/Tagval.pm +lib/ID3FS/PathElement/Album.pm +lib/ID3FS/PathElement/Boolean.pm +lib/ID3FS/DB.pm +lib/ID3FS/Fuse.pm +lib/ID3FS/Path.pm +lib/ID3FS/AudioFile.pm diff --git a/sbin/id3fsd b/sbin/id3fsd index 983eafe..2f8bb76 100755 --- a/sbin/id3fsd +++ b/sbin/id3fsd @@ -10,6 +10,7 @@ use ID3FS::Fuse; use vars qw($me); $me=($0=~/(?:.*\/)?(.*)/)[0]; +our $VERSION="1.00"; my $verbose=0; my $help=0; my $dbpath=undef; -- 2.11.0