6 use ExtUtils::MakeMaker;
7 use ExtUtils::PkgConfig;
10 my $CXXFLAGS = '-Wall -Ii';
15 push @OBJS, $_.'$(OBJ_EXT)'
16 foreach qw(Media Options Query Quvi_wrap Url);
18 my %pkgcfg_libquvi = ExtUtils::PkgConfig->find('libquvi >= 0.2.17');
20 my $libquvi = ExtUtils::Depends->new('libquvi');
21 $libquvi->set_inc($pkgcfg_libquvi{cflags});
22 $libquvi->set_libs($pkgcfg_libquvi{libs});
30 OBJECT => (join ' ',@OBJS),
32 ? ( AUTHOR => 'Toni Gundogdu legatvs at sign gmail com',
33 'ABSTRACT' => 'Perl bindings for libquvi'
37 # Earlier versions may work. The module has been confirmed to work with:
39 'Test::Pod' => 1.44, # <http://search.cpan.org/perldoc?Test::Pod>
44 '@if test -f .git/HEAD; then \
45 git log --stat --after="Mon Feb 21 20:39:18 2011" >ChangeLog; \
48 '@if test -f .git/HEAD; then \
49 git checkout ChangeLog; \
52 $libquvi->get_makefile_vars,