1 # Maintainer: Stefano Pompa <stefano.pompa@ge.com>
7 pkgdesc="Set of utilities to download tv listings and format them in xml - cvs version"
9 url="http://xmltv.cvs.sourceforge.net/"
11 depends=('perl-archive-zip' 'perl-date-manip' 'perl-file-slurp'
12 'perl-http-cache-transparent' 'perl-http-response-encoding'
13 'perl-html-tree' 'perl-io-stringy' 'perl-lingua-en-numbers-ordinate'
14 'perl-lingua-preferred' 'perl-soap-lite' 'perl-term-progressbar'
15 'perl-term-readkey' 'perl-timedate' 'perl-tk-tablematrix'
16 'perl-unicode-string' 'perl-unicode-utf8simple' 'perl-www-mechanize'
17 'perl-xml-dom' 'perl-xml-libxml' 'perl-xml-libxslt' 'perl-xml-simple'
18 'perl-xml-twig' 'perl-xml-writer')
25 _cvsroot=":pserver:anonymous@xmltv.cvs.sourceforge.net:/cvsroot/xmltv"
30 msg "Connecting to $_cvsmod.sourceforge.net CVS server...."
31 if [ -d $_cvsmod/CVS ]; then
35 cvs -z3 -d $_cvsroot co -D $pkgver -f $_cvsmod
39 msg "CVS checkout done or server timeout"
40 msg "Starting make..."
42 rm -rf "$srcdir/$_cvsmod-build"
43 cp -r "$srcdir/$_cvsmod" "$srcdir/$_cvsmod-build"
44 cd "$srcdir/$_cvsmod-build"
48 yes | perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor
53 cd "$srcdir/$_cvsmod-build"
54 make DESTDIR=${pkgdir} PREFIX=/usr install
56 # remove perllocal.pod and .packlist
57 find ${pkgdir} -name perllocal.pod -delete
58 find ${pkgdir} -name .packlist -delete