Skip to content

Commit

Permalink
Actually committing the switch away from Moduel::Build
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.code.sf.net/p/ledger-smb/code/trunk@1645 4979c152-3d1c-0410-bac9-87ea11338e46
  • Loading branch information
tetragon committed Sep 22, 2007
1 parent e07d677 commit 95eed64
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 51 deletions.
47 changes: 2 additions & 45 deletions Build.PL
Original file line number Diff line number Diff line change
@@ -1,45 +1,2 @@
use strict;
use warnings;

use Module::Build;

my $build = Module::Build->new (
dist_name => 'LedgerSMB',
dist_version => '1.2.99',
license => 'GPL',
requires => {
'perl' => '>= 5.8.1',
'Data::Dumper' => 0,
'Locale::Maketext' => 0,
'Locale::Maketext::Lexicon' => '>= 0.56',
'MIME::Base64' => 0,
'Digest::MD5' => 0,
'HTML::Entities' => 0,
'DBI' => '>= 0.48',
'DBD::Pg' => 0,
'Math::BigFloat' => 0,
'IO::File' => 0,
'Encode' => 0,
'Locale::Country' => 0,
'Locale::Language' => 0,
'Time::Local' => 0,
'Cwd' => 0,
'Config::Std' => 0,
'MIME::Lite' => 0,
'Error' => 0,
'Template' => '>= 2.14',
'Template::Latex' => 0,
'Test::More' => 0,
'Test::Trap' => 0,
'Test::Exception' => 0,
},
recommends => {
'HTML::LinkExtor' => 0,
'FileHandle' => 0,
'Getopt::Long' => 0,
'Net::TCLink' => 0,
'Parse::RecDescent' => 0,
},
);

$build->create_build_script;
# Keeping this file for nicer coverage test interface
require 'Makefile.PL';
12 changes: 6 additions & 6 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ MANUAL INSTALL:

2) Check Dependencies

The Build.PL script can be used to test for unmet dependencies and run other
The Makefile.PL script can be used to test for unmet dependencies and run other
tests. It doesn't install anything yet, but it will tell you what you are
missing. To check for dependencies, run "perl Build.PL" from the command line.
Missing dependencies can generally be installed via a Linux distributor's
package manager or by CPAN. (Build.PL itself uses Module::Build, which is
available in packages like perl-Module-Build or libmodule-build-perl.)
missing. To check for dependencies, run "perl Makefile.PL" from the command
line. Missing dependencies can generally be installed via a Linux distributor's
package manager or by CPAN. (Makefile.PL itself uses Module::Install, which is
available in packages like perl-Module-Install or libmodule-install-perl.)

Once this is done and dependencies are satisfied, you can check to see whether
the installation nominally works by running "./Build test" from the command
the installation nominally works by running "make test" from the command
line. The test suites currently check to make sure all the perl modules load
and that a number of numeric tests are passed.

Expand Down

0 comments on commit 95eed64

Please sign in to comment.