view release on metacpan or search on metacpan
lib/Alien/LibUSB.pm view on Meta::CPAN
package Alien::LibUSB;
# ABSTRACT: Perl distribution for LibUSB
our $VERSION = '0.4'; # VERSION
use parent 'Alien::Base';
=pod
=encoding utf8
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/LibUSBx.pm view on Meta::CPAN
use 5.006;
use strict;
use warnings;
use parent 'Alien::Base';
=head1 NAME
Alien::LibUSBx - Alien package for libusb (libusb-1.0) which provides generic access to USB devices
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/LibXML.pm view on Meta::CPAN
package Alien::LibXML;
use strict;
use warnings;
use parent 'Alien::Base';
our $VERSION = '0.004';
__END__
=pod
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Libarchive/Installer.pm view on Meta::CPAN
require File::Path;
File::Path::mkpath($pkg_config_dir, 0, 0755);
}
my($version) = map { /^Version:\s*(.*)$/; $1 } grep /^Version: /, @content;
# older versions apparently didn't include the necessary -I and -L flags
if(defined $version && $version =~ /^[12]\./)
{
for(@content)
{
s/^Libs: /Libs: -L\${libdir} /;
view all matches for this distribution
view release on metacpan or search on metacpan
xt/author/version.t view on Meta::CPAN
use YAML qw( LoadFile );
use FindBin;
use File::Spec;
plan skip_all => "test not built yet (run dzil test)"
unless -e dir( $FindBin::Bin)->parent->parent->file('Makefile.PL')
|| -e dir( $FindBin::Bin)->parent->parent->file('Build.PL');
my $config_filename = File::Spec->catfile(
$FindBin::Bin, File::Spec->updir, File::Spec->updir, 'author.yml'
);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Libasyncns.pm view on Meta::CPAN
package Alien::Libasyncns;
use strict;
use warnings;
use parent 'Alien::Base';
our $VERSION = '0.002';
1;
__END__
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Libdogecoin.pm view on Meta::CPAN
package Alien::Libdogecoin;
# ABSTRACT: detect or install libdogecoin
use strict;
use warnings;
use parent 'Alien::Base';
our $VERSION = '0.1.1.1';
1;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Libgcrypt.pm view on Meta::CPAN
use 5.006;
use strict;
use warnings;
use parent 'Alien::Base';
1;
=head1 NAME
view all matches for this distribution
view release on metacpan or search on metacpan
libjio/tests/behaviour/tf.py view on Meta::CPAN
if pid == 0:
# child
f(*args, **kwargs)
sys.exit(0)
else:
# parent
id, status = os.waitpid(pid, 0)
if not os.WIFEXITED(status):
raise RuntimeError, (id, status)
def forked(f):
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Librdkafka.pm view on Meta::CPAN
package Alien::Librdkafka;
use strict;
use warnings;
use parent 'Alien::Base';
our $VERSION = '0.11.6';
=head1 NAME
Alien::Librdkafka - build and install librdkafka
view all matches for this distribution
view release on metacpan or search on metacpan
if( -l '/opt/local/bin/openssl' ) {
my $dir = Path::Tiny->new(readlink '/opt/local/bin/openssl');
$dir = $dir->relative('/opt/local/bin') if $dir->is_relative;
$dir = $dir
->parent
->parent
->child('lib')
->child('pkgconfig');
push @PKG_CONFIG_LIBDIR, "$dir";
}
log "overidding PKG_CONFIG_LIBDIR on macOS: $ENV{PKG_CONFIG_LIBDIR}";
}
if($^O eq 'MSWin32' && $Config{myuname} =~ /strawberry-?perl 5\.([0-9]+)\./ && $1 < 20)
{
my $libdir = Path::Tiny->new($^X)->parent->parent->parent->child('c/lib');
# older versions of Straberry didn't have a working pkg-config
plugin 'Probe::CBuilder' => (
libs => $_,
version => qr/version = \|(.*?)\|/,
program => <<'EOF',
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Libtensorflow.pm view on Meta::CPAN
# LICENSE: Apache_2_0
$Alien::Libtensorflow::VERSION = '0.002';
use strict;
use warnings;
use parent qw(Alien::Base);
1;
__END__
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Lua.pm view on Meta::CPAN
package Alien::Lua;
use 5.14.0;
use warnings;
our $VERSION = '5.2.2.2';
use parent 'Alien::Base';
our $CanUseLuaJIT;
BEGIN {
$CanUseLuaJIT = 0;
eval "require Alien::LuaJIT"
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/LuaJIT.pm view on Meta::CPAN
package Alien::LuaJIT;
use 5.14.0;
use warnings;
our $VERSION = '2.0.2.1';
use parent 'Alien::Base';
1;
__END__
=head1 NAME
view all matches for this distribution
view release on metacpan or search on metacpan
}
}
if(my $uname_exe = which('uname'))
{
my $bin_dir = path($uname_exe)->parent->stringify;
my $uname = `$uname_exe`;
if($uname =~ /^(MSYS|MINGW(32|64))_NT/ && msys_is_okay($bin_dir)) {
$build->runtime_prop->{my_type} = 'found uname in PATH';
$build->runtime_prop->{my_bin} = $bin_dir;
return 'system';
}
}
if(my $mingw_get = which('mingw-get.exe'))
{
my $bin_dir = path($mingw_get)->parent->parent->child('msys/1.0/bin')->stringify;
if(msys_is_okay($bin_dir))
{
$build->runtime_prop->{my_type} = 'relative to mingw-get.exe';
$build->runtime_prop->{my_bin} = $bin_dir;
return 'system';
my $lnk_name = path(Win32::GetFolderPath(Win32::CSIDL_DESKTOP(), 1))->child('MinGW Installer.lnk')->canonpath;
die "No MinGW Installer.lnk" unless -r $lnk_name;
my $lnk = Win32::Shortcut->new;
$lnk->Load($lnk_name);
my $mingw_get = path($lnk->{Path});
my $bin_dir = path($mingw_get)->parent->child('msys/1.0/bin');
if(msys_is_okay($bin_dir))
{
$build->runtime_prop->{my_type} = 'MinGW Installer shortcut';
$build->runtime_prop->{my_bin} = $bin_dir;
return 'system';
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Moot.pm view on Meta::CPAN
package Alien::Moot;
use strict;
use warnings;
use parent 'Alien::Base';
our $VERSION = '0.003';
__END__
=pod
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/MuPDF.pm view on Meta::CPAN
package Alien::MuPDF;
$Alien::MuPDF::VERSION = '0.012';
use strict;
use warnings;
use parent qw(Alien::Base);
use File::Spec;
sub mutool_path {
my ($self) = @_;
File::Spec->catfile( File::Spec->rel2abs($self->dist_dir) , 'bin', 'mutool' );
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Alien/NSS/ModuleBuild.pm view on Meta::CPAN
package Alien::NSS::ModuleBuild;
use parent 'Alien::Base::ModuleBuild';
# remove libnssckbi.dylib because at least on os-x it cannot be linked...
sub alien_generate_manual_pkgconfig {
my $self = shift;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/OTR.pm view on Meta::CPAN
our $AUTHORITY = 'cpan:AJGB';
$Alien::OTR::VERSION = '4.1.1.0';
use Alien::GCrypt;
use Alien::GPG::Error;
use parent 'Alien::Base';
1;
__END__
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/OpenMP.pm view on Meta::CPAN
package Alien::OpenMP;
use parent 'Alien::Base';
use Config ();
use Alien::OpenMP::configure ();
our $VERSION = '0.003006';
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/OpenSSL/Static.pm view on Meta::CPAN
package Alien::OpenSSL::Static;
use parent 'Alien::Base';
our $VERSION = '1.000001';
=head1 NAME
Alien::OpenSSL::Static - Alien wrapper for OpenSSL
view all matches for this distribution
view release on metacpan or search on metacpan
if( -l '/opt/local/bin/openssl' ) {
require Path::Tiny;
my $dir = Path::Tiny->new(readlink '/opt/local/bin/openssl');
$dir = $dir->relative('/opt/local/bin') if $dir->is_relative;
$dir = $dir
->parent
->parent
->child('lib')
->child('pkgconfig');
push @PKG_CONFIG_LIBDIR, "$dir";
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/OpenVcdiff.pm view on Meta::CPAN
package Alien::OpenVcdiff;
our $VERSION = '0.101';
use parent 'Alien::Base';
use strict;
sub vcdiff_binary {
my $dist_dir = Alien::OpenVcdiff->dist_dir();
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/PDFio.pm view on Meta::CPAN
use strict;
use warnings;
our $VERSION = '0.05';
use parent 'Alien::Base';
1;
__END__;
view all matches for this distribution
view release on metacpan or search on metacpan
sys {
after 'gather' => sub {
my ( $build) = @_;
if ( defined( my $exe = which( 'pgxwin_server' ) ) ) {
$build->runtime_prop->{system_bin_dir} = path($exe)->parent->stringify;
}
};
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Plotly/Kaleido.pm view on Meta::CPAN
use strict;
use warnings;
our $VERSION = '0.003'; # VERSION
use parent 'Alien::Base';
use File::Which qw(which);
use IPC::Run ();
use JSON ();
use Path::Tiny ();
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Plotly/Orca.pm view on Meta::CPAN
use strict;
use warnings;
our $VERSION = '0.0002'; # VERSION
use parent 'Alien::Base';
1;
__END__
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Proj4.pm view on Meta::CPAN
package Alien::Proj4;
use strict;
use warnings;
use parent qw( Alien::Base );
our $VERSION = '2.019113';
# most of the following are for compat with PDLA Makefiles
# and should not be used by other code
view all matches for this distribution
view release on metacpan or search on metacpan
inc/AP/Build.pm view on Meta::CPAN
package AP::Build;
use strict;
use warnings;
use parent 'Alien::Base::ModuleBuild';
use ExtUtils::CBuilder;
use ExtUtils::CppGuess;
sub new {
view all matches for this distribution