2 use ExtUtils::MakeMaker;
5 NAME => 'Audio::LibSampleRate',
6 VERSION_FROM => 'lib/Audio/LibSampleRate.pm',
7 ABSTRACT_FROM => 'lib/Audio/LibSampleRate.pm',
8 AUTHOR => 'Marius Gavrilescu <marius@ieval.ro>',
9 MIN_PERL_VERSION => '5.8.9',
13 INC => '-Ilibsamplerate',
14 MYEXTLIB => 'libsamplerate/src/.libs/libsamplerate$(LIB_EXT)',
15 clean => { FILES => 'libsamplerate/src/.libs/libsamplerate$(LIB_EXT)' },
19 repository => 'https://git.ieval.ro/?p=audio-libsamplerate.git',
26 $(MYEXTLIB): libsamplerate/Makefile.am
27 cd libsamplerate && ./configure && CFLAGS=-fPIC `which gmake || echo $(MAKE)`
28 cd libsamplerate/src/.libs/ && ar rc libsamplerate$(LIB_EXT) *.o