6c61375463a37abfaa885553e361ff873ddc22ab
[melted] / mlt++ / swig / ruby / build
1 #!/bin/env ruby
2 require 'mkmf'
3 system( "ln -sf ../mltpp.i mltpp.i" )
4 system( "swig -c++ -ruby -I/usr/local/include/mlt++ `mlt-config --cflags` mltpp.i" )
5 $CFLAGS += " -I/usr/local/include/mlt++ `mlt-config --cflags`"
6 $LDFLAGS += " -lmlt++"
7 create_makefile('mltpp')
8 system( 'make' )