Skip to content

Commit

Permalink
bump version to 0.2701 and update meta
Browse files Browse the repository at this point in the history
  • Loading branch information
xdg committed Feb 16, 2010
1 parent 06cbb06 commit 07ac1be
Show file tree
Hide file tree
Showing 17 changed files with 86 additions and 84 deletions.
2 changes: 2 additions & 0 deletions Changes
@@ -1,5 +1,7 @@
Revision history for Perl extension ExtUtils::CBuilder.

0.2701 -

0.27 - Thu Oct 29 21:29:56 EDT 2009

Other:
Expand Down
60 changes: 30 additions & 30 deletions META.yml
@@ -1,62 +1,62 @@
---
name: ExtUtils-CBuilder
version: 0.27
abstract: 'Compile and link C code for Perl modules'
author:
- 'Ken Williams, kwilliams@cpan.org'
abstract: Compile and link C code for Perl modules
license: perl
resources:
license: http://dev.perl.org/licenses/
repository: http://svn.perl.org/modules/ExtUtils-CBuilder
build_requires:
Test::More: 0.47
requires:
Cwd: 0
File::Basename: 0
File::Spec: 0
IO::File: 0
Text::ParseWords: 0
generated_by: 'Module::Build version 0.3603'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
name: ExtUtils-CBuilder
provides:
ExtUtils::CBuilder:
file: lib/ExtUtils/CBuilder.pm
version: 0.27
version: 0.2701
ExtUtils::CBuilder::Base:
file: lib/ExtUtils/CBuilder/Base.pm
version: 0.27
version: 0.2701
ExtUtils::CBuilder::Platform::Unix:
file: lib/ExtUtils/CBuilder/Platform/Unix.pm
version: 0.27
version: 0.2701
ExtUtils::CBuilder::Platform::VMS:
file: lib/ExtUtils/CBuilder/Platform/VMS.pm
version: 0.27
version: 0.2701
ExtUtils::CBuilder::Platform::Windows:
file: lib/ExtUtils/CBuilder/Platform/Windows.pm
version: 0.27
version: 0.2701
ExtUtils::CBuilder::Platform::Windows::BCC:
file: lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm
version: 0.27
version: 0.2701
ExtUtils::CBuilder::Platform::Windows::GCC:
file: lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm
version: 0.27
version: 0.2701
ExtUtils::CBuilder::Platform::Windows::MSVC:
file: lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm
version: 0.27
version: 0.2701
ExtUtils::CBuilder::Platform::aix:
file: lib/ExtUtils/CBuilder/Platform/aix.pm
version: 0.27
version: 0.2701
ExtUtils::CBuilder::Platform::cygwin:
file: lib/ExtUtils/CBuilder/Platform/cygwin.pm
version: 0.27
version: 0.2701
ExtUtils::CBuilder::Platform::darwin:
file: lib/ExtUtils/CBuilder/Platform/darwin.pm
version: 0.27
version: 0.2701
ExtUtils::CBuilder::Platform::dec_osf:
file: lib/ExtUtils/CBuilder/Platform/dec_osf.pm
version: 0.27
version: 0.2701
ExtUtils::CBuilder::Platform::os2:
file: lib/ExtUtils/CBuilder/Platform/os2.pm
version: 0.27
generated_by: Module::Build version 0.3502
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: 1.4
version: 0.2701
requires:
Cwd: 0
File::Basename: 0
File::Spec: 0
IO::File: 0
Text::ParseWords: 0
resources:
license: http://dev.perl.org/licenses/
repository: git://github.com/dagolden/extutils-cbuilder.git
version: 0.2701
20 changes: 10 additions & 10 deletions Makefile.PL
@@ -1,19 +1,19 @@
# Note: this file was auto-generated by Module::Build::Compat version 0.35_02
# Note: this file was auto-generated by Module::Build::Compat version 0.3603
use ExtUtils::MakeMaker;
WriteMakefile
(
'PL_FILES' => {},
'INSTALLDIRS' => ($] >= 5.009003 ? 'perl' : 'site'),
'NAME' => 'ExtUtils::CBuilder',
'EXE_FILES' => [],
'VERSION_FROM' => 'lib/ExtUtils/CBuilder.pm',
'PREREQ_PM' => {
'Test::More' => '0.47',
'Text::ParseWords' => 0,
'IO::File' => 0,
'File::Spec' => 0,
'Cwd' => 0,
'File::Basename' => 0,
'Cwd' => 0
}
'File::Spec' => 0,
'IO::File' => 0,
'Test::More' => '0.47',
'Text::ParseWords' => 0
},
'INSTALLDIRS' => ($] >= 5.009003 ? 'perl' : 'site'),
'EXE_FILES' => [],
'PL_FILES' => {}
)
;
62 changes: 31 additions & 31 deletions README
Expand Up @@ -11,21 +11,21 @@ SYNOPSIS
DESCRIPTION
This module can build the C portions of Perl modules by invoking the
appropriate compilers and linkers in a cross-platform manner. It was
motivated by the `Module::Build' project, but may be useful for other
motivated by the "Module::Build" project, but may be useful for other
purposes as well. However, it is *not* intended as a general
cross-platform interface to all your C building needs. That would have
been a much more ambitious goal!

METHODS
new Returns a new `ExtUtils::CBuilder' object. A `config' parameter lets
you override `Config.pm' settings for all operations performed by
new Returns a new "ExtUtils::CBuilder" object. A "config" parameter lets
you override "Config.pm" settings for all operations performed by
the object, as in the following example:

# Use a different compiler than Config.pm says
my $b = ExtUtils::CBuilder->new( config =>
{ ld => 'gcc' } );

A `quiet' parameter tells `CBuilder' to not print its `system()'
A "quiet" parameter tells "CBuilder" to not print its "system()"
commands before executing them:

# Be quieter than normal
Expand All @@ -43,47 +43,47 @@ METHODS
compile
Compiles a C source file and produces an object file. The name of
the object file is returned. The source file is specified in a
`source' parameter, which is required; the other parameters listed
"source" parameter, which is required; the other parameters listed
below are optional.

`object_file'
"object_file"
Specifies the name of the output file to create. Otherwise the
`object_file()' method will be consulted, passing it the name of
the `source' file.
"object_file()" method will be consulted, passing it the name of
the "source" file.

`include_dirs'
"include_dirs"
Specifies any additional directories in which to search for
header files. May be given as a string indicating a single
directory, or as a list reference indicating multiple
directories.

`extra_compiler_flags'
"extra_compiler_flags"
Specifies any additional arguments to pass to the compiler.
Should be given as a list reference containing the arguments
individually, or if this is not possible, as a string containing
all the arguments together.

`C++'
"C++"
Specifies that the source file is a C++ source file and sets
appropriate compiler flags

The operation of this method is also affected by the `archlibexp',
`cccdlflags', `ccflags', `optimize', and `cc' entries in
`Config.pm'.
The operation of this method is also affected by the "archlibexp",
"cccdlflags", "ccflags", "optimize", and "cc" entries in
"Config.pm".

link
Invokes the linker to produce a library file from object files. In
scalar context, the name of the library file is returned. In list
context, the library file and any temporary files created are
returned. A required `objects' parameter contains the name of the
returned. A required "objects" parameter contains the name of the
object files to process, either in a string (for one object file) or
list reference (for one or more files). The following parameters are
optional:

lib_file
Specifies the name of the output library file to create.
Otherwise the `lib_file()' method will be consulted, passing it
the name of the first entry in `objects'.
Otherwise the "lib_file()" method will be consulted, passing it
the name of the first entry in "objects".

module_name
Specifies the name of the Perl module that will be created by
Expand All @@ -93,25 +93,25 @@ METHODS
extra_linker_flags
Any additional flags you wish to pass to the linker.

On platforms where `need_prelink()' returns true, `prelink()' will
On platforms where "need_prelink()" returns true, "prelink()" will
be called automatically.

The operation of this method is also affected by the `lddlflags',
`shrpenv', and `ld' entries in `Config.pm'.
The operation of this method is also affected by the "lddlflags",
"shrpenv", and "ld" entries in "Config.pm".

link_executable
Invokes the linker to produce an executable file from object files.
In scalar context, the name of the executable file is returned. In
list context, the executable file and any temporary files created
are returned. A required `objects' parameter contains the name of
are returned. A required "objects" parameter contains the name of
the object files to process, either in a string (for one object
file) or list reference (for one or more files). The optional
parameters are the same as `link' with exception for
parameters are the same as "link" with exception for

exe_file
Specifies the name of the output executable file to create.
Otherwise the `exe_file()' method will be consulted, passing it
the name of the first entry in `objects'.
Otherwise the "exe_file()" method will be consulted, passing it
the name of the first entry in "objects".

object_file
my $object_file = $b->object_file($source_file);
Expand All @@ -138,13 +138,13 @@ METHODS
prelink
On certain platforms like Win32, OS/2, VMS, and AIX, it is necessary
to perform some actions before invoking the linker. The
`ExtUtils::Mksymlists' module does this, writing files used by the
"ExtUtils::Mksymlists" module does this, writing files used by the
linker during the creation of shared libraries for dynamic
extensions. The names of any files written will be returned as a
list.

Several parameters correspond to
`ExtUtils::Mksymlists::Mksymlists()' options, as follows:
"ExtUtils::Mksymlists::Mksymlists()" options, as follows:

Mksymlists() prelink() type
-------------|-------------------|-------------------
Expand All @@ -157,26 +157,26 @@ METHODS
IMPORTS | dl_imports | hash reference
VERSION | dl_version | string

Please see the documentation for `ExtUtils::Mksymlists' for the
Please see the documentation for "ExtUtils::Mksymlists" for the
details of what these parameters do.

need_prelink
Returns true on platforms where `prelink()' should be called during
Returns true on platforms where "prelink()" should be called during
linking, and false otherwise.

extra_link_args_after_prelink
Returns list of extra arguments to give to the link command; the
arguments are the same as for prelink(), with addition of array
reference to the results of prelink(); this reference is indexed by
key `prelink_res'.
key "prelink_res".

TO DO
Currently this has only been tested on Unix and doesn't contain any of
the Windows-specific code from the `Module::Build' project. I'll do that
the Windows-specific code from the "Module::Build" project. I'll do that
next.

HISTORY
This module is an outgrowth of the `Module::Build' project, to which
This module is an outgrowth of the "Module::Build" project, to which
there have been many contributors. Notably, Randy W. Sims submitted lots
of code to support 3 compilers on Windows and helped with various other
platform-specific issues. Ilya Zakharevich has contributed fixes for
Expand Down
2 changes: 1 addition & 1 deletion lib/ExtUtils/CBuilder.pm
Expand Up @@ -5,7 +5,7 @@ use File::Path ();
use File::Basename ();

use vars qw($VERSION @ISA);
$VERSION = '0.27';
$VERSION = '0.2701';
$VERSION = eval $VERSION;

# Okay, this is the brute-force method of finding out what kind of
Expand Down
2 changes: 1 addition & 1 deletion lib/ExtUtils/CBuilder/Base.pm
Expand Up @@ -9,7 +9,7 @@ use Text::ParseWords;
use IO::File;

use vars qw($VERSION);
$VERSION = '0.27';
$VERSION = '0.2701';

sub new {
my $class = shift;
Expand Down
2 changes: 1 addition & 1 deletion lib/ExtUtils/CBuilder/Platform/Unix.pm
Expand Up @@ -4,7 +4,7 @@ use strict;
use ExtUtils::CBuilder::Base;

use vars qw($VERSION @ISA);
$VERSION = '0.27';
$VERSION = '0.2701';
@ISA = qw(ExtUtils::CBuilder::Base);

sub link_executable {
Expand Down
2 changes: 1 addition & 1 deletion lib/ExtUtils/CBuilder/Platform/VMS.pm
Expand Up @@ -4,7 +4,7 @@ use strict;
use ExtUtils::CBuilder::Base;

use vars qw($VERSION @ISA);
$VERSION = '0.27';
$VERSION = '0.2701';
@ISA = qw(ExtUtils::CBuilder::Base);

use File::Spec::Functions qw(catfile catdir);
Expand Down
2 changes: 1 addition & 1 deletion lib/ExtUtils/CBuilder/Platform/Windows.pm
Expand Up @@ -10,7 +10,7 @@ use ExtUtils::CBuilder::Base;
use IO::File;

use vars qw($VERSION @ISA);
$VERSION = '0.27';
$VERSION = '0.2701';
@ISA = qw(ExtUtils::CBuilder::Base);

=begin comment
Expand Down
2 changes: 1 addition & 1 deletion lib/ExtUtils/CBuilder/Platform/Windows/BCC.pm
@@ -1,7 +1,7 @@
package ExtUtils::CBuilder::Platform::Windows::BCC;

use vars qw($VERSION);
$VERSION = '0.27';
$VERSION = '0.2701';

sub format_compiler_cmd {
my ($self, %spec) = @_;
Expand Down
2 changes: 1 addition & 1 deletion lib/ExtUtils/CBuilder/Platform/Windows/GCC.pm
@@ -1,7 +1,7 @@
package ExtUtils::CBuilder::Platform::Windows::GCC;

use vars qw($VERSION);
$VERSION = '0.27';
$VERSION = '0.2701';

sub format_compiler_cmd {
my ($self, %spec) = @_;
Expand Down
2 changes: 1 addition & 1 deletion lib/ExtUtils/CBuilder/Platform/Windows/MSVC.pm
@@ -1,7 +1,7 @@
package ExtUtils::CBuilder::Platform::Windows::MSVC;

use vars qw($VERSION);
$VERSION = '0.27';
$VERSION = '0.2701';

sub arg_exec_file {
my ($self, $file) = @_;
Expand Down
2 changes: 1 addition & 1 deletion lib/ExtUtils/CBuilder/Platform/aix.pm
Expand Up @@ -5,7 +5,7 @@ use ExtUtils::CBuilder::Platform::Unix;
use File::Spec;

use vars qw($VERSION @ISA);
$VERSION = '0.27';
$VERSION = '0.2701';
@ISA = qw(ExtUtils::CBuilder::Platform::Unix);

sub need_prelink { 1 }
Expand Down
2 changes: 1 addition & 1 deletion lib/ExtUtils/CBuilder/Platform/cygwin.pm
Expand Up @@ -5,7 +5,7 @@ use File::Spec;
use ExtUtils::CBuilder::Platform::Unix;

use vars qw($VERSION @ISA);
$VERSION = '0.27';
$VERSION = '0.2701';
@ISA = qw(ExtUtils::CBuilder::Platform::Unix);

# TODO: If a specific exe_file name is requested, if the exe created
Expand Down
2 changes: 1 addition & 1 deletion lib/ExtUtils/CBuilder/Platform/darwin.pm
Expand Up @@ -4,7 +4,7 @@ use strict;
use ExtUtils::CBuilder::Platform::Unix;

use vars qw($VERSION @ISA);
$VERSION = '0.27';
$VERSION = '0.2701';
@ISA = qw(ExtUtils::CBuilder::Platform::Unix);

sub compile {
Expand Down

0 comments on commit 07ac1be

Please sign in to comment.