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);
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'
41 '@if test -f .git/HEAD; then \
42 git log --stat --after="Mon Feb 21 20:39:18 2011" >ChangeLog; \
45 '@if test -f .git/HEAD; then \
46 git checkout ChangeLog; \
49 $libquvi->get_makefile_vars,