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
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
lib/Alien/MariaDB.pm view on Meta::CPAN
return "@rpath $libs" if @rpath;
}
return $libs;
}
sub libs { $_[0]->_add_rpath($_[0]->SUPER::libs) }
1;
__END__
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(@_);
}
}
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