view release on metacpan or search on metacpan
GvaScript_Builder.pm view on Meta::CPAN
# so we regenerate them when doing actions "build" or "distdir"
sub ACTION_build{
my $self = shift;
$self->generate_from_sources;
$self->SUPER::ACTION_build();
}
sub ACTION_distdir{
my $self = shift;
$self->generate_from_sources;
$self->SUPER::ACTION_distdir();
}
sub ACTION_wiki {
my ($self) = @_;
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 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/Build.pm view on Meta::CPAN
use base qw(Module::Build);
use File::Copy qw(copy);
sub ACTION_code {
my $self = shift;
$self->SUPER::ACTION_code;
$self->fetch_ie7();
$self->install_ie7();
}
sub ie7_archive {
view all matches for this distribution
view release on metacpan or search on metacpan
inc/My/Builder.pm view on Meta::CPAN
print STDERR "Removing the old '$sharedir'\n";
File::Path::rmtree($sharedir);
File::Path::mkpath($sharedir);
}
return $self->SUPER::ACTION_install(@_);
}
sub ACTION_code {
my $self = shift;
inc/My/Builder.pm view on Meta::CPAN
});
}
# mark sucessfully finished build
$self->touchfile('build_done');
}
$self->SUPER::ACTION_code;
}
sub prepare_sources {
my ($self, $url, $sha1, $download, $build_src) = @_;
my $archive = $self->fetch_file( url=>$url, sha1=>$sha1, localdir=>$download );
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
print "Now you should type 'make'\n";
package MY;
sub top_targets
{
my $inherited = shift->SUPER::top_targets(@_);
$inherited =~ s/^all :: /all :: libiconv /;
return $inherited;
}
sub constants
{
my $inherited = shift->SUPER::constants(@_);
$inherited .= "MEACB_VERSION=$ICONV_VERSION\nICONV_SRC=src/libiconv-$ICONV_VERSION\n";
return $inherited;
}
sub postamble {
Makefile.PL view on Meta::CPAN
return $make_str;
}
#sub metafile_target {
# my $inherited = shift->SUPER::metafile_target(@_);
# my $build_requires = <<EOM;
#build_requires:
# Cwd: 0
# File::Spec: 0
#EOM
view all matches for this distribution
view release on metacpan or search on metacpan
inc/MY/Build.pm view on Meta::CPAN
$VERSION = '9.6602';
}
sub ACTION_code {
my $self = shift;
$self->SUPER::ACTION_code;
$self->fetch_ibapi();
$self->install_ibapi();
}
sub ibapi_archive {
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
$abmm->mm_postamble;
}
sub pm_to_blib {
my $self = shift;
my $blib = $self->SUPER::pm_to_blib(@_);
# un-read-only blib/lib for tests to pass, files are modified at runtime there
if ( $OSNAME eq 'MSWin32' ) {
my ( $lastline, $start ) = qq{\t\$(NOECHO) \$(TOUCH) pm_to_blib\n};
( $start = index( $blib, $lastline ) ) == -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
view release on metacpan or search on metacpan
inc/My/Judy/Builder.pm view on Meta::CPAN
sub ACTION_code {
my ($self) = @_;
if ( $self->notes('build_judy') =~ /^y/i ) {
$self->SUPER::ACTION_code();
_chdir_to_judy();
$self->_run(MAKE())
or do {
inc/My/Judy/Builder.pm view on Meta::CPAN
_chdir_back();
return 1;
}
else {
return $self->SUPER::ACTION_code();
}
}
sub ACTION_test {
my ($self) = @_;
if ( $self->notes('build_judy') =~ /^y/i ) {
$self->SUPER::ACTION_test();
_chdir_to_judy();
$self->_run( MAKE(), 'check' )
or do {
inc/My/Judy/Builder.pm view on Meta::CPAN
_chdir_back();
return 1;
}
else {
return $self->SUPER::ACTION_test();
}
}
sub ACTION_install {
my ($self) = @_;
if ( $self->notes('build_judy') =~ /^y/i ) {
$self->SUPER::ACTION_install();
_chdir_to_judy();
$self->_run( MAKE(), 'install' )
or do {
inc/My/Judy/Builder.pm view on Meta::CPAN
_chdir_back();
return 1;
}
else {
return $self->SUPER::ACTION_install();
}
}
sub ACTION_clean {
my ( $self ) = @_;
$self->SUPER::ACTION_clean();
print STDERR <<'ACTION_clean';
This may fail. Sorry. It's just the libJudy library. It can provide a Makefile
without being able to use it for `make clean'.
ACTION_clean
inc/My/Judy/Builder.pm view on Meta::CPAN
}
sub ACTION_realclean {
my ( $self ) = @_;
$self->SUPER::ACTION_clean();
print STDERR <<'ACTION_realclean';
This may fail. Sorry. It's just the libJudy library. It can provide a Makefile
without being able to use it for `make clean'.
ACTION_realclean
inc/My/Judy/Builder.pm view on Meta::CPAN
}
sub ACTION_distclean {
my ( $self ) = @_;
$self->SUPER::ACTION_clean();
print STDERR <<'ACTION_distclean';
This may fail. Sorry. It's just the libJudy library. It can provide a Makefile
without being able to use it for `make clean'.
ACTION_distclean
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/LIBSVM.pm view on Meta::CPAN
use parent 'Alien::Base';
sub version {
my ($class) = @_;
( "" . $class->SUPER::version) =~ s/^\d/$&./gr;
}
sub inline_auto_include {
return [ "svm.h" ];
}
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
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
}
package MY;
sub top_targets {
my $inherited = shift->SUPER::top_targets(@_);
return $inherited unless $install_libann;
$inherited =~ s/^all :: /all :: libANN /;
return $inherited;
}
sub constants {
my $inherited = shift->SUPER::constants(@_);
return $inherited unless $install_libann;
$inherited .= "LIBANN_SRC=$SRC\n";
return $inherited;
}
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/AlienLibJIT.pm view on Meta::CPAN
our $LIBJIT_RESULT = File::Spec->catfile($LIBJIT_HOME, 'jit', '.libs', 'libjit'.$Config::Config{lib_ext});
sub new {
my ($class, @args) = @_;
return $class->SUPER::new(
#include_dirs => [$LIBJIT_INCLUDE],
#extra_linker_flags => [$LIBJIT_RESULT, '-lpthread'],
@args,
);
}
inc/Module/Build/AlienLibJIT.pm view on Meta::CPAN
sub ACTION_code {
my ($self) = @_;
$self->depends_on('libjit');
return $self->SUPER::ACTION_code(@_);
}
sub ACTION_depcheck {
my ($self) = @_;
foreach my $cmd (qw/autoreconf libtool flex bison/) {
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
view release on metacpan or search on metacpan
inc/My/ModuleBuild.pm view on Meta::CPAN
$args{build_requires}->{$mod} = $ver;
}
}
}
my $self = $class->SUPER::new(%args);
$self->config_data( name => 'libarchive' );
$self->config_data( already_built => 0 );
$self->config_data( msvc => $^O eq 'MSWin32' && $Config{cc} =~ /cl(\.exe)?$/i ? 1 : 0 );
inc/My/ModuleBuild.pm view on Meta::CPAN
$self->config_data( already_built => 1 );
}
}
$self->SUPER::ACTION_build(@_);
my $module = $self->module_name;
my @parts = split /::/, $module;
my $arch_dir = File::Spec->catdir($self->blib, 'arch', 'auto', @parts);
File::Path::mkpath($arch_dir, 0, oct(777)) unless -d $arch_dir;
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
lib/Alien/Libbz2.pm view on Meta::CPAN
# TODO: this should eventually be correctly handled by
# Alien::Build
sub config {
my($class, $key) = @_;
return 'bz2' if $key eq 'name' || $key eq 'ffi_name';
return $class->SUPER::config($key);
}
1;
view all matches for this distribution
view release on metacpan or search on metacpan
sub alien_check_installed_version {
my $self = shift;
my $version = $self->config_data('system_library_version');
unless (defined $version) {
# $self->alien_helper->{pkg_config} ||= 'Alien::Base::PkgConfig->pkg_config_command';
$version = $self->SUPER::alien_check_installed_version(@_);
chomp $version;
$self->config_data('system_library_version', $version);
}
$version;
}
view all matches for this distribution
view release on metacpan or search on metacpan
sub alien_check_installed_version {
my $self = shift;
my $version = $self->config_data('system_library_version');
unless (defined $version) {
# $self->alien_helper->{pkg_config} ||= 'Alien::Base::PkgConfig->pkg_config_command';
$version = $self->SUPER::alien_check_installed_version(@_);
chomp $version;
$self->config_data('system_library_version', $version);
}
$version;
}
view all matches for this distribution
view release on metacpan or search on metacpan
inc/My/Builder.pm view on Meta::CPAN
}
sub ACTION_code {
my ($self) = @_;
my $rc = $self->SUPER::ACTION_code;
if ($self->notes('build_libjio')) {
# Get into our build directory; either libjio (all) or libjio/libjio
# (bindings only)
if ($self->notes('extra')) {
_chdir_or_die('libjio');
inc/My/Builder.pm view on Meta::CPAN
}
sub ACTION_install {
my ($self) = @_;
my $rc = $self->SUPER::ACTION_install;
if ($self->notes('build_libjio')) {
# Get into our build directory
if ($self->notes('extra')) {
_chdir_or_die('libjio');
}
inc/My/Builder.pm view on Meta::CPAN
}
sub ACTION_clean {
my ($self) = @_;
my $rc = $self->SUPER::ACTION_clean;
_chdir_or_die('libjio');
$rc = (system($self->notes('make'), 'clean') == 0) ? 1 : 0;
_chdir_back();
return $rc;
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
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