diff options
Diffstat (limited to 'p5-cairo/Pkgfile')
-rw-r--r-- | p5-cairo/Pkgfile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/p5-cairo/Pkgfile b/p5-cairo/Pkgfile new file mode 100644 index 000000000..d44064cae --- /dev/null +++ b/p5-cairo/Pkgfile @@ -0,0 +1,23 @@ +# Description: Connecteur perl pour cairo +# URL: http://www.gtkperl.org +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: p5-glib, p5-extutils-pkgconfig, cairo, libpng +# Run on: p5-glib,p5-extutils-pkgconfig,cairo,libpng + +name=p5-cairo +version=1.061 +release=1 +source=(http://search.cpan.org/CPAN/authors/id/T/TS/TSCH/Cairo-${version}.tar.gz) + +build() { + cd Cairo-$version + perl Makefile.PL + make + make DESTDIR=$PKG install + find $PKG \ + -name perllocal.pod \ + -o -name .packlist | xargs rm + find $PKG -empty | xargs rmdir -p ||: +} + |