view release on metacpan or search on metacpan
inc/inc_Module-Build/Module/Build/Base.pm view on Meta::CPAN
}
sub _startperl { shift()->config('startperl') }
# Return any directories in @INC which are not in the default @INC for
# this perl. For example, stuff passed in with -I or loaded with "use lib".
sub _added_to_INC {
my $self = shift;
my %seen;
$seen{$_}++ foreach $self->_default_INC;
view all matches for this distribution
view release on metacpan or search on metacpan
t/alien_role_alt.t view on Meta::CPAN
use Test2::V0 -no_srand => 1;
use Test::Alien 0.79;
use Alien::Role::Alt;
use lib 'corpus/lib';
use Alien::libfoo2;
diag '';
diag '';
diag '';
view all matches for this distribution
view release on metacpan or search on metacpan
corpus/autoheck-libpalindrome/configure view on Meta::CPAN
# AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
# soname into executable. Probably we can add versioning support to
# collect2, so additional links can be useful in future.
aix,yes) # traditional libtool
dynamic_linker='AIX unversionable lib.so'
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
# instead of lib<name>.a to let people know that these are not
# typical AIX shared libraries.
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
;;
aix,no) # traditional AIX only
view all matches for this distribution
view release on metacpan or search on metacpan
inc/My/Builder.pm view on Meta::CPAN
use strict;
use warnings;
use base 'Module::Build';
use lib "inc";
use My::Utility qw(find_SDL_dir find_file sed_inplace get_dlext);
use File::Spec::Functions qw(catdir catfile splitpath catpath rel2abs abs2rel);
use File::Path qw(make_path remove_tree);
use File::Copy qw(cp);
use File::Fetch;
view all matches for this distribution
view release on metacpan or search on metacpan
inc/My/Builder.pm view on Meta::CPAN
use strict;
use warnings;
use base 'Module::Build';
use lib "inc";
use My::Utility qw(find_SDL2_dir find_file sed_inplace get_dlext);
use File::Spec::Functions qw(catdir catfile splitpath catpath rel2abs abs2rel);
use File::Path qw(make_path remove_tree);
use File::Copy qw(cp);
use File::Fetch;
view all matches for this distribution
view release on metacpan or search on metacpan
builder/Alien/SDL3/Builder.pm view on Meta::CPAN
method Build_PL() {
say sprintf 'Creating new Build script for %s %s', $meta->name, $meta->version;
$self->write_file( 'Build', sprintf <<'', $^X, __PACKAGE__, __PACKAGE__ );
#!%s
use lib 'builder';
use %s;
use Getopt::Long qw[GetOptionsFromArray];
my %%opts = ( @ARGV && $ARGV[0] =~ /\A\w+\z/ ? ( action => shift @ARGV ) : () );
GetOptionsFromArray \@ARGV, \%%opts, qw[install_base=s install_path=s%% installdirs=s destdir=s prefix=s config=s%% uninst:1 verbose:1 dry_run:1 jobs=i prebuilt:1];
%s->new(%%opts)->Build();
view all matches for this distribution
view release on metacpan or search on metacpan
builder/Alien/SDL3_image/Builder.pm view on Meta::CPAN
method Build_PL() {
say sprintf 'Creating new Build script for %s %s', $meta->name, $meta->version;
$self->write_file( 'Build', sprintf <<'', $^X, __PACKAGE__, __PACKAGE__ );
#!%s
use lib 'builder';
use %s;
use Getopt::Long qw[GetOptionsFromArray];
my %%opts = ( @ARGV && $ARGV[0] =~ /\A\w+\z/ ? ( action => shift @ARGV ) : () );
GetOptionsFromArray \@ARGV, \%%opts, qw[install_base=s install_path=s%% installdirs=s destdir=s prefix=s config=s%% uninst:1 verbose:1 dry_run:1 jobs=i prebuilt:1];
%s->new(%%opts)->Build();
view all matches for this distribution
view release on metacpan or search on metacpan
builder/Alien/SDL3_ttf/Builder.pm view on Meta::CPAN
method Build_PL() {
say sprintf 'Creating new Build script for %s %s', $meta->name, $meta->version;
$self->write_file( 'Build', sprintf <<'', $^X, __PACKAGE__, __PACKAGE__ );
#!%s
use lib 'builder';
use %s;
use Getopt::Long qw[GetOptionsFromArray];
my %%opts = ( @ARGV && $ARGV[0] =~ /\A\w+\z/ ? ( action => shift @ARGV ) : () );
GetOptionsFromArray \@ARGV, \%%opts, qw[install_base=s install_path=s%% installdirs=s destdir=s prefix=s config=s%% uninst:1 verbose:1 dry_run:1 jobs=i prebuilt:1];
%s->new(%%opts)->Build();
view all matches for this distribution
view release on metacpan or search on metacpan
use strict;
use warnings;
use 5.010001;
use utf8;
use lib 'inc';
use My::ModuleBuild;
my $conf_cmd = [
'%c', '--with-pic',
'--prefix=%s', '--disable-agent',
view all matches for this distribution
view release on metacpan or search on metacpan
use strict;
use warnings;
use 5.010001;
use utf8;
use lib 'inc';
use My::ModuleBuild;
my $conf_cmd = [
'%c', '--with-pic',
'--prefix=%s', '--disable-agent',
view all matches for this distribution
view release on metacpan or search on metacpan
use strict;
use warnings;
use 5.010001;
use utf8;
use lib 'inc';
use My::ModuleBuild;
my $conf_cmd = [
'%c', '--with-pic',
'--prefix=%s', '--disable-agent',
view all matches for this distribution
view release on metacpan or search on metacpan
#!/usr/bin/perl -w
use strict;
use lib 'inc';
use My::SVN::Builder;
use Config;
my $build = My::SVN::Builder->new(
view all matches for this distribution
view release on metacpan or search on metacpan
use DynaLoader ();
use Data::Dumper;
use File::Basename qw(dirname);
# Also need Alien::SWIProlog::Util
use lib dirname(__FILE__) . "/lib";
requires 'Path::Tiny';
requires 'File::Which';
# For system probe
view all matches for this distribution
view release on metacpan or search on metacpan
inc/My/Module/Build.pm view on Meta::CPAN
use warnings;
## Replace
# use Module::Build;
## with
use FindBin; use lib "$FindBin::Bin/inc";
use My::Module::Build;
## Replace
# my $builder = Module::Build->new(
## With
inc/My/Module/Build.pm view on Meta::CPAN
$args{file} ||= 'Makefile.PL';
my $retval = $self->SUPER::do_create_makefile_pl(%args);
my $MakefilePL = read_file($args{file});
$MakefilePL = <<'PREAMBLE' . $MakefilePL;
use FindBin qw($Bin);
use lib "$Bin/inc";
PREAMBLE
$MakefilePL =~ s|Module::Build::Compat->write_makefile|My::Module::Build::HowAreYouGentlemen->write_makefile|;
write_file($args{file}, $MakefilePL);
return $retval;
}
inc/My/Module/Build.pm view on Meta::CPAN
test_Makefile_PL_your_time($_) for
($sample_Build_PL, <<'SUBCLASSED_BUILD_PL');
use strict;
use warnings;
use FindBin; use lib "$FindBin::Bin/inc";
use My::Module::Build;
my $subclass = My::Module::Build->subclass(code => "");
my $builder = $subclass->new(
view all matches for this distribution
view release on metacpan or search on metacpan
t/seleniumrc.t view on Meta::CPAN
#!/usr/bin/perl
use strict;
use warnings;
use Test::More tests => 5;
use lib 'lib';
my $command;
BEGIN {
# mock system() for testing
view all matches for this distribution
view release on metacpan or search on metacpan
use strict;
use lib q(.);
use ThrustModuleBuild;
my $build = ThrustModuleBuild->new(
module_name => 'Alien::Thrust',
dist_abstract => 'Download and install the Thrust cross-platform GUI framework',
view all matches for this distribution
view release on metacpan or search on metacpan
inc/My/Builder.pm view on Meta::CPAN
use strict;
use warnings;
use base 'Module::Build';
use lib "inc";
use File::Spec::Functions qw(catfile);
use ExtUtils::Command;
use File::Fetch;
use File::Temp qw(tempdir tempfile);
use File::Path qw();
view all matches for this distribution
view release on metacpan or search on metacpan
use strict;
use warnings;
use lib 'inc';
# if OS is... class is...
my $class = $^O =~ /MSWin/ ? 'My::Build::Windows'
: $^O =~ /Cygwin/ ? 'My::Build::Cygwin'
: $^O =~ /darwin/ ? 'My::Build::MacOSX'
view all matches for this distribution
view release on metacpan or search on metacpan
use strict;
use warnings;
use lib 'inc';
# if OS is... class is...
my $class = $^O =~ /MSWin/ ? 'My::Build::Windows'
: $^O =~ /Cygwin/ ? 'My::Build::Cygwin'
: $^O =~ /darwin/ ? 'My::Build::MacOSX'
view all matches for this distribution
view release on metacpan or search on metacpan
use strict;
use lib 'inc';
use Alien::UnRTF::ModuleBuild;
my $builder = Alien::UnRTF::ModuleBuild->new(
module_name => 'Alien::UnRTF',
dist_abstract => 'Build and make available the unrtf tool',
view all matches for this distribution
view release on metacpan or search on metacpan
# This file was automatically generated by Dist::Zilla::Plugin::Alien v0.023.
use strict;
use warnings;
use Module::Build 0.28;
use lib qw{inc}; use Alien::Uninum::ModuleBuild;
my %module_build_args = (
"alien_build_commands" => [
"%x -I../../inc -MAlien::Uninum::ModuleBuild -e alien_patch",
"%pconfigure --prefix=%s",
view all matches for this distribution
view release on metacpan or search on metacpan
inc/inc_Module-Build/Module/Build/Base.pm view on Meta::CPAN
}
sub _startperl { shift()->config('startperl') }
# Return any directories in @INC which are not in the default @INC for
# this perl. For example, stuff passed in with -I or loaded with "use lib".
sub _added_to_INC {
my $self = shift;
my %seen;
$seen{$_}++ foreach $self->_default_INC;
view all matches for this distribution
view release on metacpan or search on metacpan
t/alien_web.t view on Meta::CPAN
use strict;
use warnings;
use Test::More;
use File::Spec;
use lib File::Spec->rel2abs('t/lib');
require_ok 'Alien::Web::Foo';
{
my $path = Alien::Web::Foo->path;
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
# Note: this file was auto-generated by Module::Build::Compat version 0.3603
require 5.008;
use Module::Build::Compat 0.02;
use lib '_build/lib';
Module::Build::Compat->run_build_pl(args => \@ARGV);
require ModuleBuildAlienWiX;
Module::Build::Compat->write_makefile(build_class => 'ModuleBuildAlienWiX');
view all matches for this distribution
view release on metacpan or search on metacpan
builder/Alien/Xmake/Builder.pm view on Meta::CPAN
# We must capture the current INC to ensure the builder finds itself
# when running the generated script.
my $inc_str = join( ' ', map {"-I$_"} @INC );
$self->write_file( 'Build', sprintf <<'', $^X, $inc_str, __PACKAGE__, __PACKAGE__ );
#!%s %s
use lib 'builder';
use %s;
%s->new( @ARGV && $ARGV[0] =~ /\A\w+\z/ ? ( action => shift @ARGV ) : (),
map { /^--/ ? ( shift(@ARGV) =~ s[^--][]r => 1 ) : /^-/ ? ( shift(@ARGV) =~ s[^-][]r => shift @ARGV ) : () } @ARGV )->Build();
make_executable('Build');
view all matches for this distribution
view release on metacpan or search on metacpan
use alienfile;
use lib './inc';
use Sys::Info;
my $cpu_count = $ENV{ALIEN_Z3_CPUCOUNT} || Sys::Info->new()->device('CPU')->count || 1;
share {
view all matches for this distribution
view release on metacpan or search on metacpan
use warnings FATAL => 'all';
use strict;
use lib 'inc';
use File::Path qw/make_path/;
use My::Build;
# prevent warnings about missing share directory
make_path("share");
view all matches for this distribution
view release on metacpan or search on metacpan
use strict;
use warnings;
our $VERSION = 0.020_000;
use 5.008;
use lib qw{inc};
use My::ModuleBuild;
use Config;
use English qw(-no_match_vars); # for $OSNAME
# choose correct compiler for each OS and/or Perl configuration
view all matches for this distribution
view release on metacpan or search on metacpan
# This file was automatically generated by Dist::Zilla::Plugin::Alien v0.023.
use strict;
use warnings;
use Module::Build 0.28;
use lib qw{inc}; use Alien::Base::ModuleBuild;
my %module_build_args = (
"alien_build_commands" => [
"perl -i -pe's/v in 13/v in 19 18 17 16 15 14 13/' ./bootstrap",
"./bootstrap",
view all matches for this distribution
view release on metacpan or search on metacpan
libcares/configure view on Meta::CPAN
--enable-shared[=PKGS] build shared libraries [default=yes]
--enable-static[=PKGS] build static libraries [default=yes]
--enable-fast-install[=PKGS]
optimize for fast installation [default=yes]
--disable-libtool-lock avoid locking (might break parallel builds)
--enable-libgcc use libgcc when linking
--enable-nonblocking Enable non-blocking communications
--disable-nonblocking Disable non-blocking communications
--enable-tests build test suite
Optional Packages:
libcares/configure view on Meta::CPAN
# AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
# soname into executable. Probably we can add versioning support to
# collect2, so additional links can be useful in future.
aix,yes) # traditional libtool
dynamic_linker='AIX unversionable lib.so'
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
# instead of lib<name>.a to let people know that these are not
# typical AIX shared libraries.
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
;;
aix,no) # traditional AIX only
libcares/configure view on Meta::CPAN
# AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
# soname into executable. Probably we can add versioning support to
# collect2, so additional links can be useful in future.
aix,yes) # traditional libtool
dynamic_linker='AIX unversionable lib.so'
# If using run time linking (on AIX 4.2 or later) use lib<name>.so
# instead of lib<name>.a to let people know that these are not
# typical AIX shared libraries.
library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
;;
aix,no) # traditional AIX only
libcares/configure view on Meta::CPAN
fi
#
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use libgcc" >&5
$as_echo_n "checking whether to use libgcc... " >&6; }
# Check whether --enable-libgcc was given.
if test "${enable_libgcc+set}" = set; then :
enableval=$enable_libgcc; case "$enableval" in
yes)
LIBS="$LIBS -lgcc"
view all matches for this distribution