Alien::RtMidi - Install RtMidi
version 0.04
In your Makefile.PL:
use ExtUtils::MakeMaker; use Alien::Base::Wrapper (); WriteMakefile( Alien::Base::Wrapper->new('Alien::RtMidi')->mm_args2( # MakeMaker args NAME => 'My::XS', ... ), );
In your Build.PL:
use Module::Build; use Alien::Base::Wrapper qw( Alien::RtMidi !export ); my $builder = Module::Build->new( ... configure_requires => { 'Alien::RtMidi' => '0', ... }, Alien::Base::Wrapper->mb_args, ... ); $build->create_build_script;
In your FFI::Platypus script or module:
use FFI::Platypus; use Alien::RtMidi; my $ffi = FFI::Platypus->new( lib => [ Alien::RtMidi->dynamic_libs ], );
This distribution provides RtMidi so that it can be used by other Perl distributions that are on CPAN. It does this by first trying to detect an existing install of RtMidi on your system. If found it will use that. If it cannot be found, the source code will be downloaded from the internet and it will be installed in a private share location for the use of other modules.
Alien, Alien::Base, Alien::Build::Manual::AlienUser
John Barrett <john@jbrt.org>
This software is copyright (c) 2021 by John Barrett.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Alien::RtMidi, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Alien::RtMidi
CPAN shell
perl -MCPAN -e shell install Alien::RtMidi
For more information on module installation, please visit the detailed CPAN module installation guide.