diff options
author | Jose V Beneyto <joberui@ei.upv.es> | 2007-12-27 12:39:13 +0100 |
---|---|---|
committer | Jose V Beneyto <joberui@ei.upv.es> | 2007-12-27 12:39:13 +0100 |
commit | 398b0c09330a87940853555efbabee8538a899c6 (patch) | |
tree | 0871a66cb110db51f2dc4ecdf45d1ad4ba0b1658 /p5-cairo/Pkgfile | |
parent | 2738ed08af99e037398cbf54834ec3c037ea5c10 (diff) | |
download | contrib-398b0c09330a87940853555efbabee8538a899c6.tar.gz contrib-398b0c09330a87940853555efbabee8538a899c6.tar.xz |
p5-cairo: New port.
Diffstat (limited to 'p5-cairo/Pkgfile')
-rw-r--r-- | p5-cairo/Pkgfile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/p5-cairo/Pkgfile b/p5-cairo/Pkgfile new file mode 100644 index 000000000..56333911e --- /dev/null +++ b/p5-cairo/Pkgfile @@ -0,0 +1,22 @@ +# Description: Perl bindings for cairo +# URL: http://www.gtkperl.org +# Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net +# Packager: Han Boetes, han at mijncomputer dot nl +# Depends on: p5-glib + +name=p5-cairo +version=1.021 +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 OPTIMIZE="$CFLAGS" + make install DESTDIR=${PKG} + find $PKG \ + -name perllocal.pod \ + -o -name "*.bs" \ + -o -name .packlist | xargs rm + find $PKG -empty | xargs rmdir -p ||: +} |