Alien-SFML
view release on metacpan or search on metacpan
protocol => 'local',
pattern => qr/SFML-sources\.tgz/,
},
alien_build_commands => [
'pwd',
Alien::CMake->config('prefix')
. '/bin/cmake -DCMAKE_INSTALL_PREFIX:PATH=%s CMakeLists.txt',
'make',
],
alien_install_commands => ['make install'],
extra_compiler_flags => Alien::CMake->config('cflags'),
extra_linker_flags => Alien::CMake->config('libs'),
alien_provides_libs => '-lsfml-audio -lsfml-network -lsfml-graphics -lsfml-window -lsfml-system',
resources => {
bugtracker => {
web => 'http://github.com/jakeanq/perl-alien-sfml/issues',
mailto => 'jake.anq@gmail.com',
},
repository => {
url => 'git://github.com/jakeanq/perl-alien-sfml.git',
web => 'http://github.com/jakeanq/perl-alien-sfml',
type => 'git',
lib/Alien/SFML.pm view on Meta::CPAN
# Retrieve the Alien::SFML configuration:
my $alien = Alien::SFML->new;
# Create the build script:
my $builder = Module::Build->new(
module_name => 'My::SFML::Wrapper',
extra_compiler_flags => $alien->cflags(),
extra_linker_flags => $alien->libs(),
configure_requires => {
'Alien::SFML' => 0,
}, );
$builder->create_build_script;
=head1 DESCRIPTION
( run in 0.595 second using v1.01-cache-2.11-cpan-94b05bcf43c )