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.16.1');
20 my $libquvi = ExtUtils::Depends->new('libquvi');
21 $libquvi->set_inc($pkgcfg_libquvi{cflags});
22 $libquvi->set_libs($pkgcfg_libquvi{libs});
26 DISTNAME => 'WWW-Quvi',
31 OBJECT => (join ' ',@OBJS),
35 'ExtUtils::MakeMaker' => 0,
36 'ExtUtils::PkgConfig' => 0,
37 'ExtUtils::Depends' => 0,
39 CONFIGURE_REQUIRES => {
40 'ExtUtils::MakeMaker' => 0,
41 'ExtUtils::PkgConfig' => 0,
42 'ExtUtils::Depends' => 0,
44 MIN_PERL_VERSION => 5.010001,
46 (ABSTRACT_FROM => 'lib/WWW/Quvi.pod',
47 AUTHOR => 'Toni Gundogdu <legatvs@cpan.org>') : ()),
48 LICENSE => 'LGPLv2.1+',
51 '@if test -f .git/HEAD; then \
52 git log --stat --after="Mon Feb 21 20:39:18 2011" >ChangeLog; \
55 '@if test -f .git/HEAD; then \
56 git checkout ChangeLog; \
59 $libquvi->get_makefile_vars,