diff options
author | Danny Rawlins <romster@shortcircuit.net.au> | 2008-04-11 16:01:29 +1000 |
---|---|---|
committer | Danny Rawlins <romster@shortcircuit.net.au> | 2008-04-11 16:01:29 +1000 |
commit | b9afcdc7a35424d1295922d9634efd6fb6b80e0f (patch) | |
tree | 8c1ff8c1a76ee6c12ff29fec0d3b5b92410bb1b8 /p5-xml-writer | |
parent | 3bf88ec01d8d75706aabc991e8d3d3301bcfd683 (diff) | |
download | contrib-b9afcdc7a35424d1295922d9634efd6fb6b80e0f.tar.gz contrib-b9afcdc7a35424d1295922d9634efd6fb6b80e0f.tar.xz |
p5-xml-writer: picked up port
Diffstat (limited to 'p5-xml-writer')
-rw-r--r-- | p5-xml-writer/.md5sum | 2 | ||||
-rw-r--r-- | p5-xml-writer/Pkgfile | 41 |
2 files changed, 20 insertions, 23 deletions
diff --git a/p5-xml-writer/.md5sum b/p5-xml-writer/.md5sum index 5e00cee6b..8d0ca42a2 100644 --- a/p5-xml-writer/.md5sum +++ b/p5-xml-writer/.md5sum @@ -1 +1 @@ -c715d6fd90ac775316cc313815ba3b77 XML-Writer-0.602.tar.gz +88cd8aec7da39028c2aaf809265a8d68 XML-Writer-0.604.tar.gz diff --git a/p5-xml-writer/Pkgfile b/p5-xml-writer/Pkgfile index 368fb991a..6735a568a 100644 --- a/p5-xml-writer/Pkgfile +++ b/p5-xml-writer/Pkgfile @@ -1,32 +1,29 @@ -# Description: Perl XML Parser -# URL: http://search.cpan.org/~msergeant/XML-Parser-2.34/ -# Maintainer: unmaintained -# Packager: Han Boetes han at mijncomputer dot nl -# -# Depends on: perl +# Description: Perl XML writer. +# URL: http://search.cpan.org/~josephw/XML-Writer-0.604/ +# Maintainer: Danny Rawlins, monster dot romster at gmail dot com +# Packager: Han Boetes han at mijncomputer dot nl +# Depends on: perl name=p5-xml-writer -capsname=XML-Writer -version=0.602 +version=0.604 release=1 source=(http://www.cpan.org/modules/by-module/XML/XML-Writer-$version.tar.gz) build() { - cd $capsname-$version + cd XML-Writer-$version - perl Makefile.PL - make OPTIMIZE="$CFLAGS" - make install DESTDIR=$PKG + perl Makefile.PL + make OPTIMIZE="$CFLAGS" + make install DESTDIR=$PKG - # Remove perlcrap - find $PKG \ - -name .packlist -or \ - -name '*.bs' -or \ - -name autosplit.ix -or \ - -name perllocal.pod | xargs rm + # Remove perlcrap + find $PKG -type f \ + \( -name '.packlist' -or \ + -name '*.bs' -or \ + -name 'autosplit.ix' -or \ + -name 'perllocal.pod' \) -delete - # Remove empty directories - find $PKG -depth -empty -exec rm -rf {} \; - - chown -R root:root $PKG + # Remove empty directories + find $PKG -depth -empty -exec rm -rf {} \; } + |