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_lightbox();
$self->install_lightbox();
}
sub lightbox_archive {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Lua.pm view on Meta::CPAN
}
sub new {
my ($class, %opt) = @_;
my $luajit = delete $opt{luajit};
my $self = $class->SUPER::new(%opt);
bless($self, __PACKAGE__);
if ($luajit && $CanUseLuaJIT) {
$self->{alien_luajit} = Alien::LuaJIT->new(%opt);
}
return $self;
lib/Alien/Lua.pm view on Meta::CPAN
sub luajit { return $_[0]->{alien_luajit} }
sub cflags {
my $self = shift;
if (not ref($self) or not $self->luajit) {
return $self->SUPER::cflags(@_);
}
return $self->luajit->cflags(@_);
}
sub libs {
my $self = shift;
if (not ref($self) or not $self->luajit) {
return $self->SUPER::libs(@_);
}
return $self->luajit->libs(@_);
}
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
print "Now you should type 'make'\n";
package MY;
sub top_targets
{
my $inherited = shift->SUPER::top_targets(@_);
$inherited =~ s/^all :: /all :: libmecab /;
return $inherited;
}
sub constants
{
my $inherited = shift->SUPER::constants(@_);
$inherited .= "MEACB_VERSION=$MECAB_VERSION\nMECAB_SRC=src/mecab-$MECAB_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
lib/Alien/Meson.pm view on Meta::CPAN
if( -d $bin_dir ) {
return ("$bin_dir");
}
return -d $dir ? ("$dir") : ();
} else {
return $class->SUPER::bin_dir(@_);
}
}
=head2 _apply_destdir_prefix_hack
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/MuPDF.pm view on Meta::CPAN
}
sub cflags {
my ($self) = @_;
my $top_include = File::Spec->catfile( File::Spec->rel2abs($self->dist_dir), qw(include) );
# We do not include $self->SUPER::cflags() because that adds too many
# header files to the path. In particular, it adds -Imupdf/fitz, which
# leads to "mupdf/fitz/math.h" being included when trying to include
# the C standard "math.h" header.
return "-I$top_include";
}
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/Alien/NSS/ModuleBuild.pm view on Meta::CPAN
# remove libnssckbi.dylib because at least on os-x it cannot be linked...
sub alien_generate_manual_pkgconfig {
my $self = shift;
my $ret = $self->SUPER::alien_generate_manual_pkgconfig(@_);
$ret->{keywords}{Libs} =~ s/-lnssckbi ?//g;
return $ret;
}
1;
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
lib/Alien/Nodejs.pm view on Meta::CPAN
if( -d $bin_dir ) {
return ("$bin_dir");
}
return -d $dir ? ("$dir") : ();
} 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
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/OpenMP.pm view on Meta::CPAN
# Inline related methods
sub Inline {
my ($self, $lang) = @_;
my $params = $self->SUPER::Inline($lang);
$params->{CCFLAGSEX} = delete $params->{INC};
return {
%$params,
LDDLFLAGS => join( q{ }, $Config::Config{lddlflags}, $self->lddlflags() ),
AUTO_INCLUDE => $self->runtime_prop->{auto_include},
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(@_);
}
}
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/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/Packages/RpmDB.pm view on Meta::CPAN
=cut
sub new
{
my ( $class, @options ) = @_;
my $self = $class->SUPER::new(@options);
my %h;
tie %h, "RPM::Database" or croak $RPM::err;
$self->{rpmdb} = \%h unless ($RPM::err);
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/Plotly/Kaleido.pm view on Meta::CPAN
$version = $self->detect_kaleido_version;
}
return $version;
}
else {
return $self->SUPER::version;
}
}
sub detect_kaleido_version {
my ($class) = @_;
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 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
inc/AP/Build.pm view on Meta::CPAN
use ExtUtils::CBuilder;
use ExtUtils::CppGuess;
sub new {
my $class = shift;
my $self = $class->SUPER::new(
@_,
alien_name => 'protobuf',
);
if (!$self->alien_check_installed_version) {
inc/AP/Build.pm view on Meta::CPAN
return $self;
}
sub alien_provides_cflags {
my $self = shift;
my $cflags = $self->SUPER::alien_provides_cflags || '';
if ($^O eq 'freebsd' && $cflags !~ m{/usr/local/include}) {
$cflags = "$cflags -I/usr/local/include";
}
return $cflags;
}
sub ACTION_alien_code {
my $self = shift;
$self->SUPER::ACTION_alien_code();
my $system_provides = scalar $self->config_data('system_provides');
my $version = $self->alien_check_installed_version;
my ($major, $minor) = split /\./, $version;
if ($major > 3 || ($major == 3 && $minor >= 6)) {
view all matches for this distribution
view release on metacpan or search on metacpan
inc/MY/Build.pm view on Meta::CPAN
use File::Path qw(mkpath);
use File::Basename qw(basename);
sub ACTION_code {
my $self = shift;
$self->SUPER::ACTION_code;
$self->fetch_carousel();
$self->install_carousel();
}
sub carousel_files {
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_pwc();
$self->install_pwc();
}
sub pwc_archive {
view all matches for this distribution
view release on metacpan or search on metacpan
inc/MY/Build.pm view on Meta::CPAN
use File::Path qw(mkpath);
use File::Basename qw(basename);
sub ACTION_code {
my $self = shift;
$self->SUPER::ACTION_code;
$self->fetch_prototype();
$self->install_prototype();
}
sub prototype_files {
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