diff options
author | Jose V Beneyto <joberui@ei.upv.es> | 2007-12-27 11:19:35 +0100 |
---|---|---|
committer | Jose V Beneyto <joberui@ei.upv.es> | 2007-12-27 11:20:37 +0100 |
commit | 8ccc18caafa730fd041b097eeee45b065d30e5a9 (patch) | |
tree | cdac304385df83b39547ee5bd89497aab61db612 /p5-extutils-pkgconfig/Pkgfile | |
parent | e49ca0d977304fef8a68b53c23f7681c3cefa80c (diff) | |
download | contrib-8ccc18caafa730fd041b097eeee45b065d30e5a9.tar.gz contrib-8ccc18caafa730fd041b097eeee45b065d30e5a9.tar.xz |
p5-extutils-pkgconfig: New port.
Diffstat (limited to 'p5-extutils-pkgconfig/Pkgfile')
-rw-r--r-- | p5-extutils-pkgconfig/Pkgfile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/p5-extutils-pkgconfig/Pkgfile b/p5-extutils-pkgconfig/Pkgfile new file mode 100644 index 000000000..43f483637 --- /dev/null +++ b/p5-extutils-pkgconfig/Pkgfile @@ -0,0 +1,21 @@ +# Description: Perl bindings for pkgconfig +# URL: http://www.gtkperl.org +# Packager: Han Boetes <han@mijncomputer.nl> +# Depends on: gdk-pixbuf,p5-xml-parser,p5-xml-writer,p5-gtk2-ex-utils + +name=p5-extutils-pkgconfig +version=1.07 +release=1 +source=(http://www.cpan.org/modules/by-module/ExtUtils/ExtUtils-PkgConfig-${version}.tar.gz) + +build() { + cd ExtUtils-PkgConfig-${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 ||: +} |