+ Cleaned up swig build so it doesn't require an mlt++ install first
[melted] / mlt++ / swig / perl / Makefile.PL
1 #!/bin/env perl
2 use ExtUtils::MakeMaker;
3 system( "ln -sf ../mltpp.i ." );
4 system( "swig -c++ -I../../src `mlt-config --cflags` -perl5 mltpp.i" ); 
5 WriteMakefile(
6         'NAME'    => 'mltpp',
7         'CC'      => 'g++ `mlt-config --cflags` -I../../src',
8         'LIBS'    => ['-L../../src -lmlt++'],
9         'OBJECT'  => 'mltpp_wrap.o'
10 );
11