view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
$abmm->mm_postamble(@_);
}
sub install {
$abmm->can('mm_install')
? $abmm->mm_install(@_)
: shift->SUPER::install(@_);
}
}
# END code inserted by Dist::Zilla::Plugin::AlienBuild
view all matches for this distribution
view release on metacpan or search on metacpan
inc/My/Builder.pm view on Meta::CPAN
sub ACTION_install {
my $self = shift;
my $sharedir = eval {File::ShareDir::dist_dir('Alien-AntTweakBar')};
$self->clean_dir($sharedir) if $sharedir; # remove previous versions
return $self->SUPER::ACTION_install(@_);
}
sub ACTION_code {
my $self = shift;
inc/My/Builder.pm view on Meta::CPAN
}
# mark sucessfully finished build
local @ARGV = ('build_done');
ExtUtils::Command::touch;
}
$self->SUPER::ACTION_code;
}
sub fetch_file {
my ($self, $url_list, $sha1sum, $download) = @_;
die "###ERROR### _fetch_file undefined url\n" unless $url_list;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Base/Dino/freebsd.pm view on Meta::CPAN
package Alien::Base::Dino;
sub libs
{
my($self) = @_;
join(' ', (map { "-Wl,-rpath,$_" } $self->rpath), $self->SUPER::libs);
}
1;
__END__
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Base/ModuleBuild.pm view on Meta::CPAN
# merge default and user-defined repository classes
$args{alien_repository_class}{$_} ||= $default_repository_class{$_}
for keys %default_repository_class;
my $self = $class->SUPER::new(%args);
## Recheck Force System
if(!defined($ENV{ALIEN_INSTALL_TYPE}) && !defined($ENV{ALIEN_FORCE}) && defined($self->alien_install_type)) {
if ($self->alien_install_type eq 'share' ) { $Force = 1; $ForceSystem = 0; }
elsif($self->alien_install_type eq 'system') { $Force = 0; $ForceSystem = 1; }
lib/Alien/Base/ModuleBuild.pm view on Meta::CPAN
sub ACTION_code {
my $self = shift;
$self->notes( 'alien_blib_scheme' => $self->alien_detect_blib_scheme );
# PLEASE NOTE, BOTH BRANCHES CALL SUPER::ACTION_code !!!!!!!
if ( $self->notes('ACTION_alien_completed') ) {
$self->SUPER::ACTION_code;
} else {
$self->depends_on('alien_code');
$self->SUPER::ACTION_code;
}
my $module = $self->module_name;
my $file = File::Spec->catfile($self->blib, 'lib', split /::/, "$module\::Install::Files.pm");
unless (-e $file) {
lib/Alien/Base/ModuleBuild.pm view on Meta::CPAN
$self->depends_on('alien_install') if $self->alien_stage_install;
}
sub process_share_dir_files {
my $self = shift;
$self->SUPER::process_share_dir_files(@_);
# copy the compiled files into blib if running under blib scheme
$self->depends_on('alien_install') if $self->notes('alien_blib_scheme') || $self->alien_stage_install;
}
lib/Alien/Base/ModuleBuild.pm view on Meta::CPAN
}
sub ACTION_test {
my $self = shift;
$self->depends_on('alien_test');
$self->SUPER::ACTION_test;
}
sub ACTION_install {
my $self = shift;
$self->SUPER::ACTION_install;
if($self->alien_stage_install) {
$self->alien_relocation_fixup;
} else {
$self->depends_on('alien_install');
}
lib/Alien/Base/ModuleBuild.pm view on Meta::CPAN
#$self->process_files_by_extension('pm');
} else {
# to refresh config_data
$self->SUPER::ACTION_config_data;
# reinstall config_data
$self->SUPER::ACTION_install;
# refresh the packlist
$self->alien_refresh_packlist( $self->alien_library_destination );
}
}
lib/Alien/Base/ModuleBuild.pm view on Meta::CPAN
my $old_super_verbose = $self->verbose;
$self->verbose(0);
my ($out, $err, $success) =
$verbose
? tee { $self->SUPER::do_system(@args) }
: capture { $self->SUPER::do_system(@args) }
;
$self->verbose($old_super_verbose);
my %return = (
stdout => $out,
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
$abmm->mm_postamble(@_);
}
sub install {
$abmm->can('mm_install')
? $abmm->mm_install(@_)
: shift->SUPER::install(@_);
}
}
# END code inserted by Dist::Zilla::Plugin::AlienBuild
view all matches for this distribution
view release on metacpan or search on metacpan
inc/My/Builder.pm view on Meta::CPAN
my $self = shift;
# as we want to wipe 'sharedir' during 'Build clean' we has
# to recreate 'sharedir' at this point if it does not exist
mkdir 'sharedir' unless(-d 'sharedir');
$self->add_to_cleanup('sharedir');
$self->SUPER::ACTION_build;
}
sub ACTION_install {
my $self = shift;
my $sharedir = eval {File::ShareDir::dist_dir('Alien-Box2D')};
$self->clean_dir($sharedir) if $sharedir; # remove previous versions
return $self->SUPER::ACTION_install(@_);
}
sub ACTION_code {
my $self = shift;
inc/My/Builder.pm view on Meta::CPAN
# mark sucessfully finished build
$self->touch_build_done_marker;
}
$self->SUPER::ACTION_code;
}
sub fetch_file {
my ($self, $url, $sha1sum, $download) = @_;
die "###ERROR### _fetch_file undefined url\n" unless $url;
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
$abmm->mm_postamble(@_);
}
sub install {
$abmm->can('mm_install')
? $abmm->mm_install(@_)
: shift->SUPER::install(@_);
}
}
# END code inserted by Dist::Zilla::Plugin::AlienBuild
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Build/MB.pm view on Meta::CPAN
$build->load_requires('configure');
$build->root;
$build->checkpoint;
}
my $self = $class->SUPER::new(%args);
my $build = $self->alien_build(1);
$self->_add_prereq( "${_}_requires", 'Module::Build' => '0.36' ) for qw( configure build );
$self->_add_prereq( "${_}_requires", 'Alien::Build::MB' => '0.01' ) for qw( configure build );
lib/Alien/Build/MB.pm view on Meta::CPAN
sub ACTION_test
{
my($self) = @_;
$self->depends_on('alien_test');
$self->SUPER::ACTION_test;
}
sub ACTION_code
{
my($self) = @_;
$self->depends_on('alien_build');
$self->SUPER::ACTION_code;
}
1;
__END__
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Build/Plugin/Probe/GnuWin32.pm view on Meta::CPAN
sub new
{
my $class = shift;
my $self = $class->SUPER::new(@_);
if($self->registery_key_regex)
{
require Alien::Build;
Alien::Build->log("warning: you are using a typo'd property, 'registery_key_regex', please use 'registry_key_regex' instead");
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Build/Interpolate/Default.pm view on Meta::CPAN
sub new
{
my($class) = @_;
my $self = $class->SUPER::new(@_);
$self->add_helper( ar => sub { _config 'ar' }, 'Config' );
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
$abmm->mm_postamble(@_);
}
sub install {
$abmm->can('mm_install')
? $abmm->mm_install(@_)
: shift->SUPER::install(@_);
}
}
# END code inserted by Dist::Zilla::Plugin::AlienBuild
view all matches for this distribution
view release on metacpan or search on metacpan
inc/My/Builder.pm view on Meta::CPAN
my $self = shift;
# as we want to wipe 'sharedir' during 'Build clean' we has
# to recreate 'sharedir' at this point if it does not exist
mkdir 'sharedir' unless(-d 'sharedir');
$self->add_to_cleanup('sharedir');
$self->SUPER::ACTION_build;
}
sub ACTION_code {
my $self = shift;
inc/My/Builder.pm view on Meta::CPAN
# mark sucessfully finished build
$self->touch_build_done_marker;
}
$self->SUPER::ACTION_code;
}
sub fetch_file {
my ($self, $url, $sha1sum, $download) = @_;
die "###ERROR### _fetch_file undefined url\n" unless $url;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/CPython3.pm view on Meta::CPAN
my $prop = $class->runtime_prop;
return
map { path($_)->absolute($class->dist_dir)->stringify }
ref $prop->{share_bin_dir_rel} ? @{ $prop->{share_bin_dir_rel} } : ($prop->{share_bin_dir_rel});
} else {
return $class->SUPER::bin_dir(@_);
}
}
1;
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
$abmm->mm_postamble(@_);
}
sub install {
$abmm->can('mm_install')
? $abmm->mm_install(@_)
: shift->SUPER::install(@_);
}
}
# END code inserted by Dist::Zilla::Plugin::AlienBuild
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Build/Alien/CodePress.pm view on Meta::CPAN
# Fix up new so it takes hashref instead of hash.
sub new {
my ($self, $options_ref) = @_;
return $self->SUPER::new(%{ $options_ref });
}
sub ACTION_code {
my $self = shift;
$self->SUPER::ACTION_code(@_);
$self->fetch_codepress();
$self->install_codepress();
return;
}
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
$abmm->mm_postamble(@_);
}
sub install {
$abmm->can('mm_install')
? $abmm->mm_install(@_)
: shift->SUPER::install(@_);
}
}
# END code inserted by Dist::Zilla::Plugin::AlienBuild
view all matches for this distribution
view release on metacpan or search on metacpan
my $create_symlinks = Module::Build->subclass(code => <<'EOF');
sub ACTION_install {
my $builder = shift;
$builder->SUPER::ACTION_install(@_);
my $script_dest = File::Spec->catdir(
$builder->{'properties'}->{'destdir'},
$builder->install_destination('script'),
);
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
$abmm->mm_postamble(@_);
}
sub install {
$abmm->can('mm_install')
? $abmm->mm_install(@_)
: shift->SUPER::install(@_);
}
}
# END code inserted by Dist::Zilla::Plugin::AlienBuild
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
}
sub MY::install {
$abmm->can('mm_install')
? $abmm->mm_install(@_)
: shift->SUPER::install(@_);
}
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
$abmm->mm_postamble(@_);
}
sub install {
$abmm->can('mm_install')
? $abmm->mm_install(@_)
: shift->SUPER::install(@_);
}
}
WriteMakefile(%WriteMakefileArgs);
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
}
sub install {
$abmm->can('mm_install')
? $abmm->mm_install(@_)
: shift->SUPER::install(@_);
}
}
# END code inserted by Dist::Zilla::Plugin::AlienBuild
view all matches for this distribution
view release on metacpan or search on metacpan
ElectronModuleBuild.pm view on Meta::CPAN
$self->download_zip_file();
$self->extract_zip_file();
$self->SUPER::ACTION_build;
}
sub ACTION_install {
ElectronModuleBuild.pm view on Meta::CPAN
print "WARNING: Due to Mac OS X lameness, we are removing the electron binaries from the blib directory before install. You will have to to re-build if you want to use this local blib.\n";
system("rm -rf blib/lib/auto/share/dist/Alien-Electron/");
$self->SUPER::ACTION_install;
my $share_install_dir = $self->install_map->{'blib/lib'} . "/auto/share/dist/Alien-Electron/";
system('mkdir', '-p', $share_install_dir);
system('unzip', '-oqq', $electron_archive, '-d', $share_install_dir);
} else {
$self->SUPER::ACTION_install;
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
}
sub install {
$abmm->can('mm_install')
? $abmm->mm_install(@_)
: shift->SUPER::install(@_);
}
}
# END code inserted by Dist::Zilla::Plugin::AlienBuild
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
}
sub install {
$abmm->can('mm_install')
? $abmm->mm_install(@_)
: shift->SUPER::install(@_);
}
}
# END code inserted by Dist::Zilla::Plugin::AlienBuild
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
$abmm->mm_postamble(@_);
}
sub install {
$abmm->can('mm_install')
? $abmm->mm_install(@_)
: shift->SUPER::install(@_);
}
}
# END code inserted by Dist::Zilla::Plugin::AlienBuild
view all matches for this distribution
view release on metacpan or search on metacpan
inc/My/Builder.pm view on Meta::CPAN
if ( -d $sharedir ) {
warn "Removing the old '$sharedir'\n";
File::Path::rmtree($sharedir);
File::Path::mkpath($sharedir);
}
return $self->SUPER::ACTION_install(@_);
}
sub ACTION_clean {
my $self = shift;
unlink 'build_done';
chdir 'src';
$self->make_clean();
chdir $self->base_dir();
return $self->SUPER::ACTION_clean(@_);
}
sub ACTION_code {
my $self = shift;
unless (-e 'build_done') {
inc/My/Builder.pm view on Meta::CPAN
# mark sucessfully finished build
local @ARGV = ('build_done');
ExtUtils::Command::touch();
}
$self->SUPER::ACTION_code;
}
sub make_clean {
# this needs to be overriden in My::Builder::<platform>
die "###ERROR### use My::Builder::<platform>";
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
$abmm->mm_postamble(@_);
}
sub install {
$abmm->can('mm_install')
? $abmm->mm_install(@_)
: shift->SUPER::install(@_);
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Gnuplot.pm view on Meta::CPAN
@colors = sort keys %colors;
}
sub import {
my $pkg = shift;
$pkg->SUPER::import(@_);
$pkg->load_gnuplot();
};
1;
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
$abmm->mm_postamble(@_);
}
sub install {
$abmm->can('mm_install')
? $abmm->mm_install(@_)
: shift->SUPER::install(@_);
}
}
# END code inserted by Dist::Zilla::Plugin::AlienBuild
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
$abmm->mm_postamble(@_);
}
sub install {
$abmm->can('mm_install')
? $abmm->mm_install(@_)
: shift->SUPER::install(@_);
}
}
# END code inserted by Dist::Zilla::Plugin::AlienBuild
view all matches for this distribution