summaryrefslogtreecommitdiff
path: root/p5-cairo/Pkgfile
blob: 56333911e62429ca5d836af28141d21984803ab1 (plain)
    1 # Description: Perl bindings for cairo
    2 # URL: http://www.gtkperl.org
    3 # Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
    4 # Packager: Han Boetes, han at mijncomputer dot nl
    5 # Depends on: p5-glib
    6 
    7 name=p5-cairo
    8 version=1.021
    9 release=1
   10 source=(http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Cairo-${version}.tar.gz)
   11 
   12 build() {
   13   cd Cairo-${version}
   14   perl Makefile.PL
   15   make OPTIMIZE="$CFLAGS"
   16   make install DESTDIR=${PKG}
   17   find $PKG \
   18     -name perllocal.pod \
   19     -o -name "*.bs" \
   20     -o -name .packlist | xargs rm
   21   find $PKG -empty | xargs rmdir -p ||:
   22 }

Generated by cgit