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
inc/Alien/pdf2json/ModuleBuild.pm view on Meta::CPAN
my $target_pdf2json = File::Spec->catfile( $target_bin, 'pdf2json.exe' );
copy( $src_pdf2json, $target_pdf2json );
return 1;
} else {
$self->SUPER::alien_do_commands($phase);
}
} else {
my $ret = $self->SUPER::alien_do_commands($phase);
if( $phase eq 'build' ) {
# after build
my $pdf2json_src = File::Spec->catfile( $dir, 'src', 'pdf2json' );
my $pdf2json_tgt = File::Spec->catfile( $bin_dir, 'pdf2json' );
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/proj.pm view on Meta::CPAN
}
sub dynamic_libs {
my ($self) = @_;
my @libs = $self->SUPER::dynamic_libs;
foreach my $lib (sort keys %also) {
push @libs, $lib->dynamic_libs;
}
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
inc/MY/Build.pm view on Meta::CPAN
use warnings;
use base qw(Module::Build);
sub ACTION_code {
my $self = shift;
$self->SUPER::ACTION_code;
$self->fetch_scriptaculous();
$self->install_scriptaculous();
}
sub scriptaculous_archive {
view all matches for this distribution
view release on metacpan or search on metacpan
inc/AU/Build.pm view on Meta::CPAN
my $protobuf_cxxflags = Alien::ProtoBuf->cxxflags;
my $make_args = '';
if ($^O eq 'freebsd') {
$make_args = 'CXX=c++';
}
my $self = $class->SUPER::new(
@_,
alien_name => 'uPB::Core', # to stop Alien::Base warnings
alien_bin_requires => {
'Alien::gmake' => 0.11, # needed for %{gmake} helper
},
inc/AU/Build.pm view on Meta::CPAN
return $version;
}
sub alien_generate_manual_pkgconfig {
my $self = shift;
my $config = $self->SUPER::alien_generate_manual_pkgconfig(@_);
# -DNDEBUG works around https://github.com/google/upb/issues/63
$config->{keywords}{Cflags} = '-I${pcfiledir}/include -DNDEBUG';
$config->{keywords}{Libs} =
'-L${pcfiledir}/lib ' .
view all matches for this distribution
view release on metacpan or search on metacpan
inc/AU/Build.pm view on Meta::CPAN
my $protobuf_cxxflags = Alien::ProtoBuf->cxxflags;
my $make_args = '';
if ($^O eq 'freebsd') {
$make_args = 'CXX=c++';
}
my $self = $class->SUPER::new(
@_,
alien_name => 'uPB', # to stop Alien::Base warnings
alien_bin_requires => {
'Alien::gmake' => 0.11, # needed for %{gmake} helper
},
inc/AU/Build.pm view on Meta::CPAN
return $version;
}
sub alien_generate_manual_pkgconfig {
my $self = shift;
my $config = $self->SUPER::alien_generate_manual_pkgconfig(@_);
# -DNDEBUG works around https://github.com/google/upb/issues/63
$config->{keywords}{Cflags} = '-I${pcfiledir}/include -DNDEBUG';
$config->{keywords}{Libs} =
'-L${pcfiledir}/lib ' .
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Alien/make/Module/Build.pm view on Meta::CPAN
store => \$use_bundled,
type => "+",
};
my $self = $class->SUPER::new( %args );
my $module = $self->pkgconfig_module;
my $version = $self->pkgconfig_version;
$use_bundled = 1 if
inc/Alien/make/Module/Build.pm view on Meta::CPAN
# There's two bugs in just doing this:
# 1) symlinks (e.g. libfoo.so => libfoo.so.1) get copied as new files
# 2) needlessly considers the .pc file different and copies/relocates it
# every time.
# Both of these are still under investigation
$self->SUPER::ACTION_install;
# The .pc file that 'ACTION_install' has written contains the build-time
# blib paths in it. We need that rewritten for the real install location
#
# We don't do this at 'ACTION_code' time, because of one awkward cornercase.
inc/Alien/make/Module/Build.pm view on Meta::CPAN
}
unlink( $self->_stampfile( "build" ) );
}
$self->SUPER::ACTION_clean;
}
sub ACTION_realclean
{
my $self = shift;
if( -d $self->_srcdir ) {
system( "rm", "-rf", $self->_srcdir ); # best effort; ignore failure
}
$self->SUPER::ACTION_realclean;
}
0x55AA;
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/Any_wx_config.pm view on Meta::CPAN
$wx_monolithic = `$wx_config --libs${WX_CONFIG_LIBSEP}adv` eq
`$wx_config --libs${WX_CONFIG_LIBSEP}core`;
sub awx_is_debug {
$_[0]->notes( 'build_wx' )
? $_[0]->SUPER::awx_is_debug
: $wx_debug;
}
sub awx_is_unicode {
$_[0]->notes( 'build_wx' )
? $_[0]->SUPER::awx_is_unicode
: $wx_unicode;
}
sub awx_is_monolithic {
$_[0]->notes( 'build_wx' )
? $_[0]->SUPER::awx_is_monolithic
: $wx_monolithic;
}
}
package My::Build::Any_wx_config::Base;
inc/My/Build/Any_wx_config.pm view on Meta::CPAN
sub awx_configure {
My::Build::Any_wx_config::_init( $_[0] );
my $self = shift;
my %config = $self->SUPER::awx_configure;
my $cf = $self->wx_config( 'cxxflags' );
$config{prefix} = $self->wx_config( 'prefix' );
$cf =~ m/__WX(x11|msw|motif|gtk|mac|osx_carbon|osx_cocoa)__/i or
die "Unable to determine toolkit!";
view all matches for this distribution
view release on metacpan or search on metacpan
builder/xmake.pm view on Meta::CPAN
}
sub ACTION_code {
my ($s) = @_;
$s->depends_on('xmake_install');
$s->SUPER::ACTION_code;
}
sub sudo { # `id -u`;
CORE::state $sudo;
return $sudo if defined $sudo;
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
$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/Inline/CPP.pm view on Meta::CPAN
unless defined $o->{ILSM}{PRESERVE_ELLIPSIS};
# Filter out the parameters we treat differently than Inline::C,
# forwarding unknown requests back up to Inline::C.
my @propagate = _handle_config_options($o, @config_options);
$o->SUPER::validate(@propagate) if @propagate;
return;
}
inc/Inline/CPP.pm view on Meta::CPAN
# Intercept xs_generate and create the typemap file
#============================================================================
sub xs_generate {
my $o = shift;
$o->write_typemap;
return $o->SUPER::xs_generate;
}
#============================================================================
# Return bindings for functions and classes
#============================================================================
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Build/InlineModule.pm view on Meta::CPAN
use Inline::Module();
sub ACTION_code {
my $self = shift;
$self->SUPER::ACTION_code(@_);
my $meta = $self->get_meta;
my @inc = @INC;
local @INC = (
(-e 'inc' ? ('inc') : ()),
'lib',
inc/Module/Build/InlineModule.pm view on Meta::CPAN
Inline::Module->handle_fixblib;
}
sub ACTION_distdir {
my $self = shift;
$self->SUPER::ACTION_distdir(@_);
my $distdir = $self->dist_dir;
my $meta = $self->get_meta;
my $stub_modules = $meta->{stub};
my $included_modules = Inline::Module->included_modules($meta);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CWB/CEQL.pm view on Meta::CPAN
package BNCWEB::CEQL;
use base 'CWB::CEQL';
sub lemma {
## overwrite 'lemma' rule here (e.g. to allow for BNCweb's ``{bucket/N}'' notation)
my $orig_result = $self->SUPER::lemma($string); # call original rule if needed
}
## you can now use BNCWEB::CEQL in the same way as CWB::CEQL
=head1
view all matches for this distribution
view release on metacpan or search on metacpan
require IO::File;
my $fh = IO::File->new($cc0_h, "w") or die $!;
$fh->printflush($content) or die $!;
$fh->close or die $!;
}
return $self->SUPER::compile_c($file, %args);
}
sub link_c {
no strict "refs";
my($self, $spec) = @_;
my $cb = $self->cbuilder;
"--dllname", $spec{basename}.".".$cf->{dlext},
$spec{output},
] if $spec{output} eq $norm_libfile;
return @cmds;
} if $cb->isa("ExtUtils::CBuilder::Platform::Windows::GCC");
$self->SUPER::link_c($spec);
if($^O eq "MSWin32") {
die "failed to generate import library"
unless -e $impfile;
$self->add_to_cleanup($impfile);
}
view all matches for this distribution
view release on metacpan or search on metacpan
t/ffi_raw_ptr.t view on Meta::CPAN
$shared, 'foo_new',
FFI::Raw::ptr
)->coderef;
sub new {
bless shift->SUPER::new(_foo_new());
}
*get_bar = FFI::Raw->new(
$shared, 'foo_get_bar',
FFI::Raw::int,
view all matches for this distribution
view release on metacpan or search on metacpan
inc/TestML/Runtime/TAP.pm view on Meta::CPAN
has tap_object => sub { Test::Builder->new };
has planned => 0;
sub run {
my ($self) = @_;
$self->SUPER::run;
$self->check_plan;
$self->plan_end;
}
sub run_assertion {
my ($self, @args) = @_;
$self->check_plan;
$self->SUPER::run_assertion(@args);
}
sub check_plan {
my ($self) = @_;
if (! $self->planned) {
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Inline/CPP.pm view on Meta::CPAN
unless defined $o->{ILSM}{PRESERVE_ELLIPSIS};
# Filter out the parameters we treat differently than Inline::C,
# forwarding unknown requests back up to Inline::C.
my @propagate = _handle_config_options($o, @config_options);
$o->SUPER::validate(@propagate) if @propagate;
return;
}
inc/Inline/CPP.pm view on Meta::CPAN
# Intercept xs_generate and create the typemap file
#============================================================================
sub xs_generate {
my $o = shift;
$o->write_typemap;
return $o->SUPER::xs_generate;
}
#============================================================================
# Return bindings for functions and classes
#============================================================================
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Tickit/ContainerWidget.pm view on Meta::CPAN
foreach my $method (qw( children )) {
$class->can( $method ) or
croak "$class cannot ->$method - do you subclass and implement it?";
}
my $self = $class->SUPER::new( @_ );
$self->{child_opts} = {};
return $self;
}
lib/Tickit/ContainerWidget.pm view on Meta::CPAN
}
sub window_gained
{
my $self = shift;
$self->SUPER::window_gained( @_ );
$self->window->set_focus_child_notify( 1 );
}
sub window_lost
lib/Tickit/ContainerWidget.pm view on Meta::CPAN
$childwin and $childwin->close;
$child->set_window( undef );
}
$self->SUPER::window_lost( @_ );
}
sub _on_win_focus
{
my $self = shift;
$self->SUPER::_on_win_focus( @_ );
$self->set_style_tag( "focus-child" => $_[1] ) if $_[2];
}
=head2 find_child
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alvis/NLPPlatform/ParseConstituents.pm view on Meta::CPAN
sub new {
my($class)=shift;
ref($class)
and $class=ref($class);
my($self)=$class->SUPER::new( yyversion => '1.05',
yystates =>
[
{#State 0
DEFAULT => -1,
GOTOS => {
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Alzabo/GUI/Mason/Build.pm view on Meta::CPAN
sub ACTION_install
{
my $self = shift;
$self->SUPER::ACTION_install;
$self->depends_on('install_components');
}
sub ACTION_install_components
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Alzabo/Build.pm view on Meta::CPAN
$self->depends_on('code');
$self->ACTION_pod_merge;
$self->SUPER::ACTION_docs(@_);
}
sub ACTION_pod_merge
{
my $self = shift;
inc/Alzabo/Build.pm view on Meta::CPAN
sub ACTION_install
{
my $self = shift;
$self->SUPER::ACTION_install(@_);
}
1;
view all matches for this distribution