diff options
author | Han Boetes <han@mijncomputer.nl> | 2006-11-26 16:41:05 +0100 |
---|---|---|
committer | Han Boetes <han@mijncomputer.nl> | 2006-11-26 16:41:05 +0100 |
commit | 39fdae0cce9434ac2ab10a4ff52e9dd3e91429be (patch) | |
tree | e84cf355e2ee55d11ec045fd6bc235b4da6785f9 /p5-extutils-pkgconfig/Pkgfile | |
parent | 6b73a59cdef09d49e80139c5e24d7647a7a8f8e9 (diff) | |
download | contrib-39fdae0cce9434ac2ab10a4ff52e9dd3e91429be.tar.gz contrib-39fdae0cce9434ac2ab10a4ff52e9dd3e91429be.tar.xz |
p5-extutils-pkgconfig: initial release
Diffstat (limited to 'p5-extutils-pkgconfig/Pkgfile')
-rw-r--r-- | p5-extutils-pkgconfig/Pkgfile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/p5-extutils-pkgconfig/Pkgfile b/p5-extutils-pkgconfig/Pkgfile new file mode 100644 index 000000000..3f7840498 --- /dev/null +++ b/p5-extutils-pkgconfig/Pkgfile @@ -0,0 +1,23 @@ +# Description: Perl bindings for pkgconfig +# URL: http://www.gtkperl.org +# Maintainer: 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 ||: +} |