Result:
found more than 394 distributions - search limited to the first 2001 files matching your query ( run in 0.792 )


Alien-CXC-param

 view release on metacpan or  search on metacpan

alienfile  view on Meta::CPAN

    build [ '%{configure}', '%{make}', '%{make} install', ];
};

gather [
    [ "pkg-config --modversion $pkg_name", \'%{.runtime.version}' ],
    [ "pkg-config --cflags     $pkg_name", \'%{.runtime.cflags}' ],
    [ "pkg-config --libs       $pkg_name", \'%{.runtime.libs}' ],
];

 view all matches for this distribution


Alien-Capstone

 view release on metacpan or  search on metacpan

lib/Alien/Capstone.pm  view on Meta::CPAN

            die "Alien::Capstone isn't installed" unless &Alien::Capstone::is_installed();
            # ...
            my $capstone= Alien::Capstone->new;
            my $build = Module::Build->new(
                ...
                extra_compiler_flags => $capstone->cflags(),
                extra_linker_flags => $capstone->libs(),
                ...
            );


=head1 VERSION

lib/Alien/Capstone.pm  view on Meta::CPAN


=item B<new>

Creates the object. Refer C<Alien::Base> for more information.

=item B<cflags>

This method provides the compiler flags needed to use the library on the system.

=item B<libs>

This method provides the linker flags needed to use the library on the system.

=item B<is_installed>

This method checks to see if Capstone has been installed correctly.

 view all matches for this distribution


Alien-Chipmunk

 view release on metacpan or  search on metacpan

inc/My/ModuleBuild.pm  view on Meta::CPAN

    my $b = $self->cbuilder;

    my $obj = eval {
        $b->compile(
            source               => File::Spec->catfile(qw( inc My test.c )),
            extra_compiler_flags => $self->alien_provides_cflags,
        );
    };

    return unless defined $obj;

    $self->add_to_cleanup($obj);

    my ( $exe, @rest ) = eval {
        $b->link_executable(
            objects            => [$obj],
            extra_linker_flags => $self->alien_provides_libs,
        );
    };

    unlink $obj;

 view all matches for this distribution


Alien-CodePress

 view release on metacpan or  search on metacpan

cp/codepress/engines/gecko.js  view on Meta::CPAN

		if(self.find(cc))
			window.getSelection().getRangeAt(0).deleteContents();
	},
	
	// split big files, highlighting parts of it
	split : function(code,flag) {
		if(flag=='scroll') {
			this.scrolling = true;
			return code;
		}
		else {
			this.scrolling = false;

cp/codepress/engines/gecko.js  view on Meta::CPAN

		}
		return document.getElementsByTagName('pre')[0];
	},
	
	// syntax highlighting parser
	syntaxHighlight : function(flag) {
		//if(document.designMode=='off') document.designMode='on'
		if(flag != 'init') { window.getSelection().getRangeAt(0).insertNode(document.createTextNode(cc));}
		editor = CodePress.getEditor();
		o = editor.innerHTML;
		o = o.replace(/<br>/g,'\n');
		o = o.replace(/<.*?>/g,'');
		x = z = this.split(o,flag);
		x = x.replace(/\n/g,'<br>');

		if(arguments[1]&&arguments[2]) x = x.replace(arguments[1],arguments[2]);
	
		for(i=0;i<Language.syntax.length;i++) 
			x = x.replace(Language.syntax[i].input,Language.syntax[i].output);

		editor.innerHTML = this.actions.history[this.actions.next()] = (flag=='scroll') ? x : o.split(z).join(x);
		if(flag!='init') this.findString();
	},
	
	getLastWord : function() {
		var rangeAndCaret = CodePress.getRangeAndCaret();
		words = rangeAndCaret[0].substring(rangeAndCaret[1]-40,rangeAndCaret[1]);

 view all matches for this distribution


Alien-Cowl

 view release on metacpan or  search on metacpan

alienfile  view on Meta::CPAN

      my $libulib_a = $ulib_a->sibling('libulib' . $Config::Config{_a} );
      $build->log( "Renaming $ulib_a to $libulib_a" );
      $ulib_a->move( $libulib_a );
    }

    my $cflags_path = path($prefix, qw(include));
    my $libs_path   = path($prefix, qw(lib));

    $build->runtime_prop->{cflags}        = join " ", "-I$cflags_path";
    $build->runtime_prop->{libs}          = join " ", "-L$libs_path", qw(-lcowl -lulib);
  };
}

 view all matches for this distribution


Alien-DDC-Concordance

 view release on metacpan or  search on metacpan

lib/Alien/DDC/Concordance.pm  view on Meta::CPAN

   use strict;
   use Alien::DDC::Concordance;
   
   my $alien = Alien::DDC::Concordance->new;
   say $alien->libs;
   say $alien->cflags;

=head1 DESCRIPTION

Ensures that the ddc-concordance C++ libraries are installed on your system.

 view all matches for this distribution


Alien-DjVuLibre

 view release on metacpan or  search on metacpan

DjVuLibre.pm  view on Meta::CPAN


 use Alien::DjVuLibre;

 my $atleast_version = Alien::DjVulibre->atleast_version($wanted_version);
 my $bin_dir = Alien::DjVuLibre->bin_dir;
 my $cflags = Alien::DjVuLibre->cflags;
 my $cflags_static = Alien::DjVuLibre->cflags_static;
 my $dist_dir = Alien::DjVuLibre->dist_dir;
 my $exact_version = Alien::DjVuLibre->exact_version($wanted_version);
 my $install_type = Alien::DjVuLibre->install_type;
 my $libs = Alien::DjVuLibre->libs;
 my $libs_static = Alien::DjVuLibre->libs_static;

DjVuLibre.pm  view on Meta::CPAN

 use strict;
 use warnings;

 use Alien::DjVuLibre;

 print 'cflags: '.Alien::DjVuLibre->cflags."\n";
 print 'cflags_static: '.Alien::DjVuLibre->cflags_static."\n";
 print 'dist_dir: '.Alien::DjVuLibre->dist_dir."\n";
 print 'libs: '.Alien::DjVuLibre->libs."\n";
 print 'libs_static: '.Alien::DjVuLibre->libs_static."\n";
 print 'version: '.Alien::DjVuLibre->version."\n";

 # Output like:
 # cflags: -pthread
 # cflags_static: -pthread
 # dist_dir: ~/perl5/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/Alien-DjVuLibre
 # libs: -ldjvulibre
 # libs_static: -ldjvulibre -ljpeg -lpthread -lm
 # version: 3.5.28

 view all matches for this distribution


Alien-Doxyparse

 view release on metacpan or  search on metacpan

alienfile  view on Meta::CPAN

my $doxyparse_version = $ENV{ALIEN_DOXYPARSE_VERSION} || 'Release_1_9_0';

probe [ 'which doxyparse' ];

share {
  my $cmake_flags = '';
  if ($^O eq 'freebsd') {
    $cmake_flags = '-DCMAKE_IGNORE_PATH=/usr/local/include/';
  }
  requires 'Alien::flex';
  requires 'Alien::bison';
  requires 'Alien::cmake3';
  requires 'Alien::m4';

alienfile  view on Meta::CPAN

  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


Alien-Editline

 view release on metacpan or  search on metacpan

alienfile  view on Meta::CPAN

use alienfile;

plugin 'PkgConfig' => 'libedit';

plugin 'Probe::CBuilder' => (
  cflags => '-I/usr/include/edit/readline',
  libs => '-ledit',
);

share {

 view all matches for this distribution


Alien-FFCall

 view release on metacpan or  search on metacpan

lib/Alien/FFCall.pm  view on Meta::CPAN

 my $alien = Alien::FFCall->new;
 
 # Create the build script:
 my $builder = Module::Build->new(
     module_name => 'My::FFCall::Wrapper',
     extra_compiler_flags => $alien->cflags(),
     extra_linker_flags => $alien->libs(),
     configure_requires => {
         'Alien::FFCall' => 0,
     },
 );
 $builder->create_build_script;

 view all matches for this distribution


Alien-FFI

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN


0.20_03   2018-05-29 15:25:11 -0400
  - Added additional tests

0.20_02   2018-05-29 12:41:38 -0400
  - Add some simple minded detection for avx and aes flags on i386
    Only works on systems with /proc/cpuinfo

0.20_01   2018-05-29 10:02:17 -0400
  - Disable avx and aes instructions on i386

Changes  view on Meta::CPAN

  - use alien_stage_install

0.09      2015-03-18 13:00:16 -0400
  - Use older version 3.1 when building from source with Microsoft Visual C++
    newer versions seem to be broken with that compiler
  - Build with same -arch flags as Perl on Darwin / OS X

0.08      2015-02-24 12:25:47 -0500
  - Turn off Alien::Base blib detection
  - Make libs and cflags class methods should work correctly
    before or after ./Build install

0.07      2015-02-16 18:16:54 -0500
  - Promote to production

 view all matches for this distribution


Alien-FFTW3

 view release on metacpan or  search on metacpan

lib/Alien/FFTW3.pm  view on Meta::CPAN

  use warnings;

  use Module::Build;
  use Alien::FFTW3 3.003_002;  # Require fftw v3.3.2 or later

  my $cflags = Alien::FFTW3->cflags;
  my $ldflags = Alien::FFTW3->libs;

  if( Alien::FFTW3->precision('q') ) {
    # compile quad-precision library...
  }

  my $cflags_for_float = Alien::FFTW3->cflags('f');

=head1 ABSTRACT

Alien wrapper for FFTW3.  

lib/Alien/FFTW3.pm  view on Meta::CPAN

This module provides package validation and installation for FFTW3.
It currently depends on the external POSIX program pkg-config to find
the FFTW3 libraries.

Because FFTW3 comes in several flavors for different levels of
numerical precision, the typical access methods 'cflags' and 'libs'
work slightly differently than the simple Alien::Base case.  You can
feed in nothing at all, in which case you get back cflags and libs
strings appropriate for compiling *all* available fftw3 libraries; or
you can specify which precision you want by passing in an allowed
precision.  The allowed precisions are currently 'f','d','l', and 'q'
for floats, doubles, long doubles, and quad doubles respecetively.

lib/Alien/FFTW3.pm  view on Meta::CPAN

    } else {
	return undef;
    }
}

=head2 cflags

=for ref

Returns the cflags compiler flags required for the specified precision, or for all of 'em.

=cut

sub cflags {
    shift if(($_[0]//"") =~ m/Alien/ );       # discard package name or blessed ref on call

    my $precision = shift;
    
    my $h = precision($precision);
    die "No fftw package found!" unless($h);

    my $pkgs = join(" ",sort values %$h);

    my $s = `$pkgconfig --cflags $pkgs`;
    chomp $s;
    return $s;
}

=head2 libs

=for ref

Returns the libs linker flags required for the specified precision, or for all of 'em.

=cut

sub libs {
    shift if(($_[0]//"") =~ m/Alien/);       # discard package name on call

 view all matches for this distribution


Alien-FLTK

 view release on metacpan or  search on metacpan

examples/opengl.pl  view on Meta::CPAN

#define __cplusplus 1
#include <EXTERN.h>
#include <perl.h>
#define NO_XSLOCKS // XSUB.h will otherwise override various things we need
#include <XSUB.h>
#define NEED_sv_2pv_flags
//#include "ppport.h"

#include <FL/Fl.H>
#include <FL/Fl_Gl_Window.H>
#include <FL/gl.h>

examples/opengl.pl  view on Meta::CPAN


END
my $OBJ = $CC->compile(#'C++'                => 1,
                       source               => $SRC,
                       include_dirs         => [$AF->include_dirs()],
                       extra_compiler_flags => $AF->cxxflags()
);
my $EXE =
    $CC->link_executable(
         objects            => $OBJ,
         extra_linker_flags => '-L' . $AF->library_path . ' ' . $AF->ldflags('gl')
    );
print system('./' . $EXE) ? 'Aww...' : 'Yay!';
END { unlink grep defined, $SRC, $OBJ, $EXE; }

 view all matches for this distribution


Alien-FluentBit

 view release on metacpan or  search on metacpan

lib/Alien/FluentBit.pm  view on Meta::CPAN


To use:

  use Alien::FluentBit;
  say "Commandline tool is ".Alien::FluentBit->fluentbit;
  say "Compile flags are ".Alien::FluentBit->cflags;
  say "Link flags are ".Alien::FluentBit->libs;

See the Makefile.PL of Fluent::LibFluentBit for a full example.

=head1 DESCRIPTION

lib/Alien/FluentBit.pm  view on Meta::CPAN


=item fluentbit

The path of the fluent-bit executable

=item cflags

The C compiler flags

=item libs

The C linker flags and libraries

I<< ( this module does not yet support static linking ) >>

=back

 view all matches for this distribution


Alien-FontForge

 view release on metacpan or  search on metacpan

t/version.t  view on Meta::CPAN

	my $xs = do { local $/; <DATA> };
	xs_ok {
		xs => $xs,
		verbose => 0,
		cbuilder_link => {
			extra_linker_flags =>
				# add -dylib_file since during test, the dylib is under blib/
				$^O eq 'darwin'
					? ' -dylib_file ' . join ":", map {
						"$_/lib/libfontforge.2.dylib"
					} (@{Alien::FontForge->runtime_prop}{qw(prefix distdir)}),

 view all matches for this distribution


Alien-FreeImage

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN


1.001   2017-07-11
        - upgrade to FreeImage-3.17.0

0.011   2014-12-09
        - flag -fPIC strikes again

0.010   2014-12-08
        - x64 linux requires -fPIC and -lstdc++

0.009   2014-11-30

 view all matches for this distribution


Alien-GCrypt

 view release on metacpan or  search on metacpan

lib/Alien/GCrypt.pm  view on Meta::CPAN


=head1 SYNOPSIS

    use Alien::GCrypt;

    my $cflags = Alien::GCrypt->cflags;
    my $libs = Alien::GCrypt->libs;

=head1 DESCRIPTION

Alien::GCrypt installs the C library C<libgcrypt> v1.6.5.

 view all matches for this distribution


Alien-GEOS

 view release on metacpan or  search on metacpan

lib/Alien/GEOS.pm  view on Meta::CPAN

 my $alien = Alien::GEOS->new;
 
 # Create the build script:
 my $builder = Module::Build->new(
     module_name => 'My::GEOS::Wrapper',
     extra_compiler_flags => $alien->cflags(),
     extra_linker_flags => $alien->libs(),
     configure_requires => {
         'Alien::GEOS' => 0,
     },
 );
 $builder->create_build_script;

 view all matches for this distribution


Alien-GHTTP

 view release on metacpan or  search on metacpan

lib/Alien/GHTTP.pm  view on Meta::CPAN

  my $builder = Module::Build->new(
    configure_requires => {
      'Alien::GHTTP' => '0.005',
    },
    ...
    extra_compiler_flags => Alien::GHTTP->cflags,
    extra_linker_flags   => Alien::GHTTP->libs,
    ...
  );

  $builder->create_build_script;

 view all matches for this distribution


Alien-GPG-Error

 view release on metacpan or  search on metacpan

lib/Alien/GPG/Error.pm  view on Meta::CPAN


=head1 SYNOPSIS

    use Alien::GPG::Error;

    my $cflags = Alien::GPG::Error->cflags;
    my $libs = Alien::GPG::Error->libs;

=head1 DESCRIPTION

Alien::GPG::Error installs the C library C<libgpg-error> v1.21.

 view all matches for this distribution


Alien-GSL

 view release on metacpan or  search on metacpan

lib/Alien/GSL.pm  view on Meta::CPAN

  my $builder = Module::Build->new(
    configure_requires => {
      'Alien::GSL' => '1.00', # first Alien::Base-based release
    },
    ...
    extra_compiler_flags => Alien::GSL->cflags,
    extra_linker_flags   => Alien::GSL->libs,
    ...
  );

  $builder->create_build_script;

 view all matches for this distribution


Alien-Gearman

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

2.4      Wed Dec 14 2022
         - Switch to Alien::Boost::ProgramOptions
         - Switch to Download::GitHub

2.3      Sat Aug 1 2020
         - Use flag fpermissive see
         https://github.com/gearman/gearmand/issues/293

2.2      Sun Jul 19 2020
         - Configure require Alien::Boost

 view all matches for this distribution


Alien-Gfsm

 view release on metacpan or  search on metacpan

lib/Alien/Gfsm.pm  view on Meta::CPAN

   use strict;
   use Alien::Gfsm;
   
   my $alien = Alien::Gfsm->new;
   say $alien->libs;
   say $alien->cflags;

=head1 DESCRIPTION

Ensures that the libgfsm C library is installed on your system.

 view all matches for this distribution


Alien-GfsmXL

 view release on metacpan or  search on metacpan

lib/Alien/GfsmXL.pm  view on Meta::CPAN

   use strict;
   use Alien::GfsmXL;
   
   my $alien = Alien::GfsmXL->new;
   say $alien->libs;
   say $alien->cflags;

=head1 DESCRIPTION

Ensures that the libgfsmxl C library is installed on your system.

 view all matches for this distribution


Alien-Gimp

 view release on metacpan or  search on metacpan

common.pl  view on Meta::CPAN

  \%cfg;
}

sub ag_getbuild {
  +{
    cflags => $gimpcfg{cflags},
    pluginlibs => $pluginlibs,
  };
}

sub ag_getversion {

 view all matches for this distribution


Alien-Google-GRPC

 view release on metacpan or  search on metacpan

lib/Alien/Google/GRPC.pm  view on Meta::CPAN

   ...
   configure_requires => {
     'Alien::Google::GRPC' => '0',
     ...
   },
   extra_compiler_flags => Alien::Google::GRPC->cflags,
   extra_linker_flags   => Alien::Google::GRPC->libs,
   ...
 );
 
 $build->create_build_script;

lib/Alien/Google/GRPC.pm  view on Meta::CPAN

 WriteMakefile(
   ...
   CONFIGURE_REQUIRES => {
     'Alien::Google::GRPC' => '0',
   },
   CCFLAGS => Alien::Google::GRPC->cflags . " $Config{ccflags}",
   LIBS    => [ Alien::Google::GRPC->libs ],
   ...
 );

In your script or module:

 view all matches for this distribution


Alien-Graphene

 view release on metacpan or  search on metacpan

t/version.t  view on Meta::CPAN

use Test::Alien;
use Alien::Graphene;

use lib 't/lib';

subtest "Check flags" => sub {
	alien_ok 'Alien::Graphene';

	my $xs = do { local $/; <DATA> };
	xs_ok $xs, with_subtest {
		my($module) = @_;

 view all matches for this distribution


Alien-GvaScript

 view release on metacpan or  search on metacpan

doc/html/Form.html  view on Meta::CPAN

    <div class="TN_content">
      <pre>  GvaScript.Form.remove(repeat_block[, live_update]);</pre>

<p>Removes a repetition block from the DOM. The argument is either
a DOM element or a string containing the element id.</p>
<p>param <code>Boolean</code> live_update: flag to indicate whether the 'remaining'
repeatable sections are to be also removed from DOM, recreated by re-merging
the data with repeat template, then finally re-appended to the DOM.
Default true.</p>
<p>All repetition blocks above the removed block are renumbered,
leaving no hole in the index sequence. To do so, these

 view all matches for this distribution


Alien-HDF4

 view release on metacpan or  search on metacpan

common.pl  view on Meta::CPAN

    my ($libpath, $libs) = findlibs();
    my ($incpath) = findinc();
    my $defs = finddefs();
    my ($szlibs) = findsz();
    {
        cflags => qq{$defs "-I$incpath"},
        libs => qq{"-L$libpath" $libs -ljpeg -lz $szlibs},
    }
}

1;

 view all matches for this distribution


Alien-Hunspell

 view release on metacpan or  search on metacpan

alienfile  view on Meta::CPAN

  plugin 'Extract' => 'tar.gz';
  plugin 'Build::Autoconf' => (
    ffi => 1,
  );

  my @acflags;
  unshift @acflags, '--disable-nls' if $^O =~ /^(?:MSWin32|darwin|freebsd)/;

  build [
    "%{configure} --disable-shared --enable-static @acflags",
    '%{make}',
    '%{make} install',
  ];

  ffi {
    build [
      "%{configure} --disable-static --enable-shared --libdir=%{.install.autoconf_prefix}/dynamic @acflags",
      '%{make}',
      '%{make} install',
    ];
  };
};

 view all matches for this distribution


( run in 0.792 second using v1.01-cache-2.11-cpan-94b05bcf43c )