|
use 5.010001;
my $libs = qx(pkg-config glfw3 --libs --static) ;
my $incs = qx(pkg-config glfw3 --cflags) ;
my $LIBS = ( $libs ? $libs : '-lglfw3' );
my $INCS = ( $incs ? $incs : '' );
WriteMakefile(
NAME => 'OpenGL::GLFW' ,
VERSION_FROM => 'lib/OpenGL/GLFW.pm' ,
PREREQ_PM => {
'ExtUtils::MakeMaker' => 6.64,
},
MIN_PERL_VERSION => '5.010' ,
TEST_REQUIRES => {
'OpenGL::Modern' => 0.04,
},
ABSTRACT_FROM => 'lib/OpenGL/GLFW.pm' ,
AUTHOR => 'Chris Marshall <chm@cpan.org>' ,
LICENSE => 'perl' ,
LIBS => [ "$LIBS" ],
DEFINE => '' ,
INC => "$INCS" ,
META_MERGE => {
"meta-spec" => { version => 2 },
resources => {
repository => {
type => 'git' ,
},
},
},
);
|