view release on metacpan or search on metacpan
inc/My/Builder.pm view on Meta::CPAN
my $srcdir = catfile($build_src, $bp->{dirname});
my $prefixdir = rel2abs($build_out);
$self->config_data('build_prefix', $prefixdir); # save it for future Alien::Box2D::ConfigData
# some platform specific stuff
my $makefile = rel2abs('patches/Makefile.unix');
$makefile = rel2abs('patches/Makefile.mingw') if $^O eq 'MSWin32' && $Config{cc} =~ /gcc/;
$makefile = rel2abs('patches/Makefile.nmake') if $^O eq 'MSWin32' && $Config{cc} =~ /cl/;
my $cxxflags = '-O3';
$cxxflags .= " $1" if $Config{cccdlflags} =~ /((-[df]PIC\s+)?-[df]PIC)/i;
# MacOSX related flags
view all matches for this distribution
view release on metacpan or search on metacpan
t/author-eol.t view on Meta::CPAN
't/author-portability.t',
't/release-check-manifest.t',
't/release-trailing-space.t'
);
eol_unix_ok($_, { trailing_whitespace => 1 }) foreach @files;
done_testing;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/Base.pm view on Meta::CPAN
sub split_flags {
my ($class, $line) = @_;
if( $^O eq 'MSWin32' ) {
$class->split_flags_windows($line);
} else {
# $os eq 'Unix'
$class->split_flags_unix($line);
}
}
sub split_flags_unix {
my ($class, $line) = @_;
shellwords($line);
}
sub split_flags_windows {
view all matches for this distribution
view release on metacpan or search on metacpan
inc/My/Builder/Unix.pm view on Meta::CPAN
package My::Builder::Unix;
use strict;
use warnings;
use base 'My::Builder';
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/Install/Can.pm view on Meta::CPAN
*ExtUtils::MM_Cygwin::maybe_command = sub {
my ($self, $file) = @_;
if ($file =~ m{^/cygdrive/}i and ExtUtils::MM_Win32->can('maybe_command')) {
ExtUtils::MM_Win32->maybe_command($file);
} else {
ExtUtils::MM_Unix->maybe_command($file);
}
}
}
}
view all matches for this distribution
view release on metacpan or search on metacpan
download [ 'wget %{.meta.start_url}' ];
download [ 'wget --no-check-certificate %{.meta.start_url}' ];
download [ "curl %{.meta.start_url} -o doxygen-$doxyparse_version.tar.gz" ];
extract [ 'tar zxf %{.install.download}' ];
build [
[ 'cmake -G "Unix Makefiles" -Dbuild_parse=ON -DCMAKE_INSTALL_PREFIX=%{.install.prefix}' . " $cmake_flags" ],
[ '%{make}' ],
[ '%{make} install' ],
];
};
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/FLTK.pm view on Meta::CPAN
=item Win32
The fltk libs and L<Alien::FLTK|Alien::FLTK> both build right out of the box
with MinGW. Further testing is needed for other setups.
=item X11/*nix
X11-based systems require several development packages. On Debian, these may
be installed with:
> sudo apt-get install libx11-dev
view all matches for this distribution
view release on metacpan or search on metacpan
inc/My/Builder/Unix.pm view on Meta::CPAN
package My::Builder::Unix;
use strict;
use warnings;
use base 'My::Builder';
view all matches for this distribution
view release on metacpan or search on metacpan
xt/author/eol.t view on Meta::CPAN
my @files = (
'lib/Alien/GCrypt.pm',
't/00-compile.t'
);
eol_unix_ok($_, { trailing_whitespace => 1 }) foreach @files;
done_testing;
view all matches for this distribution
view release on metacpan or search on metacpan
inc/My/Builder/Unix.pm view on Meta::CPAN
package My::Builder::Unix;
use strict;
use warnings;
use base 'My::Builder';
inc/My/Builder/Unix.pm view on Meta::CPAN
gtk3 => 'gtk+-3.0',
gtkx11 => 'gtk+-x11-2.0',
gdk => 'gdk-2.0',
gdk3 => 'gdk-3.0',
gdkx11 => 'gdk-x11-2.0',
gtkprint => 'gtk+-unix-print-2.0',
webkit => 'webkit-1.0',
cairo => 'cairo',
pango => 'pango',
pangox => 'pangox',
pangocairo => 'pangocairo',
inc/My/Builder/Unix.pm view on Meta::CPAN
print STDERR "[libdir $pkg] " . $self->run_stdout2str(qw[pkg-config --variable=libdir], $pkg) . "\n";
print STDERR "[includedir $pkg] " . $self->run_stdout2str(qw[pkg-config --variable=includedir], $pkg) . "\n";
}
print STDERR "Brute force lookup:\n";
my $re = qr/\/(Xlib.h|Xm.h|gtk.h|cairo.h|glu.h|glut.h|gl.h|freetype.h|gtkprintunixdialog.h|jasper.h|jas_image.h|lib(X11|GL|Xm|freetype)\.[^\d]*)$/;
print STDERR "[/usr ] $_\n" foreach ($self->find_file('/usr', $re));
print STDERR "[/lib ] $_\n" foreach ($self->find_file('/usr', $re));
print STDERR "[/opt ] $_\n" foreach ($self->find_file('/opt', $re));
print STDERR "[/sw ] $_\n" foreach ($self->find_file('/sw', $re));
print STDERR "[/System ] $_\n" foreach ($self->find_file('/System', $re));
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Devel/CheckLib.pm view on Meta::CPAN
if ( $Config{cc} eq 'cl' ) { # Microsoft compiler
require Win32;
@sys_cmd = (@cc, $cfile, "/Fe$exefile", (map { '/I'.Win32::GetShortPathName($_) } @incpaths));
} elsif($Config{cc} =~ /bcc32(\.exe)?/) { # Borland
@sys_cmd = (@cc, (map { "-I$_" } @incpaths), "-o$exefile", $cfile);
} else { # Unix-ish
# gcc, Sun, AIX (gcc, cc)
@sys_cmd = (@cc, $cfile, (map { "-I$_" } @incpaths), "-o", "$exefile");
}
warn "# @sys_cmd\n" if $args{debug};
my $rv = $args{debug} ? system(@sys_cmd) : _quiet_system(@sys_cmd);
inc/Devel/CheckLib.pm view on Meta::CPAN
);
} elsif($Config{cc} eq 'CC/DECC') { # VMS
} elsif($Config{cc} =~ /bcc32(\.exe)?/) { # Borland
my @libpath = map { "-L$_" } @libpaths;
@sys_cmd = (@cc, "-o$exefile", "-l$lib", @libpath, $cfile);
} else { # Unix-ish
# gcc, Sun, AIX (gcc, cc)
my @libpath = map { "-L$_" } @libpaths;
@sys_cmd = (@cc, $cfile, "-o", "$exefile", "-l$lib", @libpath);
}
warn "# @sys_cmd\n" if $args{debug};
view all matches for this distribution
view release on metacpan or search on metacpan
inc/MY/Build.pm view on Meta::CPAN
$self->fetch_ibapi();
$self->install_ibapi();
}
sub ibapi_archive {
return 'twsapi_unixmac_966.jar';
}
sub ibapi_dir {
return 'IBJts';
}
view all matches for this distribution
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
use ExtUtils::MakeMaker;
# if java is not available to the commandline, there will be problems, let them know
my $javaIsMissingMessage = 'Java is mising ... Alien::Jerl requires Java to be available to the commandline';
# Pattern for non *nix errors that will find its way to standard out
my $nonNixError = 'error';
# check for Java
print "[Alien::Jerl] ... do you have java available to the commandline ? ...\n";
my $commandlineJava = `java -version 2>&1` || '';
view all matches for this distribution
view release on metacpan or search on metacpan
src/judy-1.0.5/aclocal.m4 view on Meta::CPAN
if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
test "X$echo_testing_string" = "X$echo_test_string"; then
:
else
# The Solaris, AIX, and Digital Unix default echo programs unquote
# backslashes. This makes it impossible to quote backslashes using
# echo "$something" | sed 's/\\/\\\\/g'
#
# So, first we look for a working echo in the user's PATH.
src/judy-1.0.5/aclocal.m4 view on Meta::CPAN
soname_spec='$libname${shared_ext}.$major'
shlibpath_var=LD_LIBRARY_PATH
fi
;;
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
version_type=freebsd-elf
need_lib_prefix=no
need_version=no
library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
soname_spec='${libname}${release}${shared_ext}$major'
src/judy-1.0.5/aclocal.m4 view on Meta::CPAN
lt_cv_deplibs_check_method=pass_all
;;
esac
;;
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
lt_cv_deplibs_check_method=pass_all
;;
esac
])
file_magic_cmd=$lt_cv_file_magic_cmd
src/judy-1.0.5/aclocal.m4 view on Meta::CPAN
_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
fi
;;
esac
;;
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*)
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
runpath_var='LD_RUN_PATH'
src/judy-1.0.5/aclocal.m4 view on Meta::CPAN
symcode='[[DT]]'
;;
sysv4.2uw2*)
symcode='[[DT]]'
;;
sysv5* | sco5v6* | unixware* | OpenUNIX*)
symcode='[[ABDT]]'
;;
sysv4)
symcode='[[DFNSTU]]'
;;
src/judy-1.0.5/aclocal.m4 view on Meta::CPAN
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
;;
cxx*)
# Compaq C++
# Make sure the PIC flag is empty. It appears that all Alpha
# Linux and Compaq Tru64 Unix objects are PIC.
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
;;
*)
;;
src/judy-1.0.5/aclocal.m4 view on Meta::CPAN
;;
cxx*)
# Digital/Compaq C++
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
# Make sure the PIC flag is empty. It appears that all Alpha
# Linux and Compaq Tru64 Unix objects are PIC.
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
;;
*)
;;
src/judy-1.0.5/aclocal.m4 view on Meta::CPAN
;;
*)
;;
esac
;;
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
case $cc_basename in
CC*)
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
src/judy-1.0.5/aclocal.m4 view on Meta::CPAN
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic'
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
fi
;;
sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
_LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
;;
src/judy-1.0.5/aclocal.m4 view on Meta::CPAN
else
_LT_AC_TAGVAR(ld_shlibs, $1)=no
fi
;;
sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
case `$LD -v 2>&1` in
*\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*)
_LT_AC_TAGVAR(ld_shlibs, $1)=no
cat <<_LT_EOF 1>&2
src/judy-1.0.5/aclocal.m4 view on Meta::CPAN
hardcode_runpath_var=yes
_LT_AC_TAGVAR(ld_shlibs, $1)=yes
fi
;;
sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*)
_LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text'
_LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no
runpath_var='LD_RUN_PATH'
view all matches for this distribution
view release on metacpan or search on metacpan
'Alien::CMake' => 0,
},
alien_build_commands => [
'cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_LIBS_ONLY=1 ' .
'-DBUILD_SHARED_LIBS=ON -DLLVM_TARGETS_TO_BUILD="all" '.
'-DCMAKE_INSTALL_PREFIX="%s" -G"Unix Makefiles"',
'make clean',
'make all',
],
alien_install_commands => [
'make install PREFIX=%s',
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Devel/CheckLib.pm view on Meta::CPAN
if ( $Config{cc} eq 'cl' ) { # Microsoft compiler
require Win32;
@sys_cmd = (@cc, $cfile, "/Fe$exefile", (map { '/I'.Win32::GetShortPathName($_) } @incpaths));
} elsif($Config{cc} =~ /bcc32(\.exe)?/) { # Borland
@sys_cmd = (@cc, (map { "-I$_" } @incpaths), "-o$exefile", $cfile);
} else { # Unix-ish
# gcc, Sun, AIX (gcc, cc)
@sys_cmd = (@cc, $cfile, (map { "-I$_" } @incpaths), "-o", "$exefile");
}
warn "# @sys_cmd\n" if $args{debug};
my $rv = $args{debug} ? system(@sys_cmd) : _quiet_system(@sys_cmd);
inc/Devel/CheckLib.pm view on Meta::CPAN
);
} elsif($Config{cc} eq 'CC/DECC') { # VMS
} elsif($Config{cc} =~ /bcc32(\.exe)?/) { # Borland
my @libpath = map { "-L$_" } @libpaths;
@sys_cmd = (@cc, "-o$exefile", "-l$lib", @libpath, $cfile);
} else { # Unix-ish
# gcc, Sun, AIX (gcc, cc)
my @libpath = map { "-L$_" } @libpaths;
@sys_cmd = (@cc, $cfile, "-o", "$exefile", "-l$lib", @libpath);
}
warn "# @sys_cmd\n" if $args{debug};
view all matches for this distribution
view release on metacpan or search on metacpan
libjit/attic/README.alpha view on Meta::CPAN
Compiler Writer's Guide for the 21264/21364
ftp://ftp.compaq.com/pub/products/alphaCPUdocs/comp_guide_v2.pdf
Assembly Language Programmer's Guide
http://www.cs.arizona.edu/computer.help/policy/DIGITAL_unix/AA-PS31D-TET1_html/TITLE.html
binutils source code
binutils-2.16.1/opcodes/alpha-opc.c
ffcall source code
view all matches for this distribution
view release on metacpan or search on metacpan
- 01_use.t was still testing old modules
(which is fine if you are upgrading)
they have now been removed from this test.
0.25 2015-06-17 20:47:36 -0400
- Remove old ::Unix and ::MSWin32 modules
I believe I was the only one to ever use these,
and only by older versions of Alien::Libarchive
itself.
- Honour the ALIEN_FORCE environment variable a la Alien::Base
view all matches for this distribution
view release on metacpan or search on metacpan
}
else {
use Config '%Config';
$make = $Config{make};
# Probe for GNU Make (useful on BSD/Unix variants)
if ($make eq 'make' && grep { -x $_ . '/gmake' } @PATH) {
$make = 'gmake';
warn 'your system is a BSD variant but gmake was not found'
if ($^O =~ /bsd$/);
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Alien/MSYS.pm view on Meta::CPAN
=head1 DESCRIPTION
MSYS provides minimal shell and POSIX tools on Windows to enable GNU style configure
scripts to run (the type usually generated by C<autoconf>). This module aims to
provide an interface for using MSYS on Windows and act as a no-op on Unix like
operating systems which already have that capability. If you use this module, I
recommend that you list this as a prerequisite only during MSWin32 installs.
When installing, this distribution will look for an existing C<MSYS> using the following
methods in this order:
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Devel/CheckLib.pm view on Meta::CPAN
if ( $Config{cc} eq 'cl' ) { # Microsoft compiler
require Win32;
@sys_cmd = (@cc, $cfile, "/Fe$exefile", (map { '/I'.Win32::GetShortPathName($_) } @incpaths));
} elsif($Config{cc} =~ /bcc32(\.exe)?/) { # Borland
@sys_cmd = (@cc, (map { "-I$_" } @incpaths), "-o$exefile", $cfile);
} else { # Unix-ish
# gcc, Sun, AIX (gcc, cc)
@sys_cmd = (@cc, $cfile, (map { "-I$_" } @incpaths), "-o", "$exefile");
}
warn "# @sys_cmd\n" if $args{debug};
my $rv = $args{debug} ? system(@sys_cmd) : _quiet_system(@sys_cmd);
inc/Devel/CheckLib.pm view on Meta::CPAN
);
} elsif($Config{cc} eq 'CC/DECC') { # VMS
} elsif($Config{cc} =~ /bcc32(\.exe)?/) { # Borland
my @libpath = map { "-L$_" } @libpaths;
@sys_cmd = (@cc, "-o$exefile", "-l$lib", @libpath, $cfile);
} else { # Unix-ish
# gcc, Sun, AIX (gcc, cc)
my @libpath = map { "-L$_" } @libpaths;
@sys_cmd = (@cc, $cfile, "-o", "$exefile", "-l$lib", @libpath);
}
warn "# @sys_cmd\n" if $args{debug};
view all matches for this distribution
view release on metacpan or search on metacpan
Fixes <https://github.com/project-renard/p5-Alien-MuPDF/issues/16>.
0.005_01 2016-07-25 18:40:54-0500
- Fix the path to `mutool` during build-time.
Fixes <https://github.com/project-renard/p5-Alien-MuPDF/issues/12>.
- Build: Use Alien::gmake to build on more *nix systems.
Fixes <https://rt.cpan.org/Ticket/Display.html?id=110287>,
<https://github.com/project-renard/p5-Alien-MuPDF/issues/11>.
SREZIC++ for the bug report.
0.005 2016-05-29 06:23:45-0500
view all matches for this distribution
view release on metacpan or search on metacpan
xt/author/eol.t view on Meta::CPAN
my @files = (
'lib/Alien/OTR.pm',
't/00-compile.t'
);
eol_unix_ok($_, { trailing_whitespace => 1 }) foreach @files;
done_testing;
view all matches for this distribution
view release on metacpan or search on metacpan
);
plugin Extract => 'tar.gz';
build [
[ 'cmake', qw(-G), 'Unix Makefiles',
'-DCMAKE_INSTALL_PREFIX:PATH=%{.install.prefix}',
'-DBUILD_PKGCONFIG_FILES=ON',
'.' ],
[ '%{gmake}' ],
[ '%{gmake}', 'install' ],
view all matches for this distribution
view release on metacpan or search on metacpan
plugin 'Extract' => 'tar.gz';
my $system_type = meta->prop->{platform}->{system_type};
if($system_type =~ /^(unix|windows-mingw)$/)
{
plugin 'PkgConfig::MakeStatic';
build [
'./config --prefix=%{.install.prefix} --libdir=%{.install.prefix}/lib shared',
'%{make}',
view all matches for this distribution
view release on metacpan or search on metacpan
inc/My/Builder/Unix.pm view on Meta::CPAN
package My::Builder::Unix;
use strict;
use warnings;
use base 'My::Builder';
view all matches for this distribution
view release on metacpan or search on metacpan
}
};
build [
[ 'cmake', qw(-G), 'Unix Makefiles',
'-DCMAKE_INSTALL_PREFIX:PATH=%{.install.prefix}',
'-DENABLE_XPDF_HEADERS=ON',
( '-DENABLE_GLIB=OFF' )x!!( $^O eq 'darwin' ),
'.' ],
[ '%{gmake}' ],
view all matches for this distribution