Skip to content

Commit

Permalink
addapted to Module::Build::SysPath 0.09
Browse files Browse the repository at this point in the history
  • Loading branch information
jozef committed Oct 25, 2009
1 parent caba756 commit dd9495d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
7 changes: 5 additions & 2 deletions Build.PL
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,18 @@ my $builder = Module::Build::SysPath->new(
license => 'perl',
configure_requires => {
'IO::Any' => 0,
'Module::Build::SysPath' => 0.06,
'Module::Build::SysPath' => 0.09,
},
build_requires => {
'Module::Build::SysPath' => 0.06,
'Module::Build::SysPath' => 0.09,
},
requires => {
'File::Spec' => 0,
'IO::Any' => 0,
},
conffiles => [
[ 'conf', 'acme-syspath.cfg' ],
],
);

$builder->create_build_script();
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
Revision history for Acme-SysPath

0.05 22 Oct 2009
- addapted to Module::Build::SysPath 0.09

0.04 4 Sep 2009
- addapted to Module::Build::SysPath 0.06

Expand Down
2 changes: 1 addition & 1 deletion lib/Acme/SysPath.pm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Acme::SysPath - example distribution for Sys::Path
=cut

our $VERSION = '0.04';
our $VERSION = '0.05';


=head1 SYNOPSIS
Expand Down
4 changes: 2 additions & 2 deletions lib/Acme/SysPath/SPc.pm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Acme::SysPath::SPc - build-time system path configuration
use warnings;
use strict;

our $VERSION = '0.04';
our $VERSION = '0.05';

use File::Spec;

Expand All @@ -28,7 +28,7 @@ sub _path_types {qw(
=cut

sub prefix { use Module::Build::SysPath; Module::Build::SysPath->find_distribution_root(__PACKAGE__); };
sub prefix { use Sys::Path; Sys::Path->find_distribution_root(__PACKAGE__); };
sub sysconfdir { File::Spec->catdir(__PACKAGE__->prefix, 'conf') };
sub datadir { File::Spec->catdir(__PACKAGE__->prefix, 'share') };

Expand Down

0 comments on commit dd9495d

Please sign in to comment.