diff options
Diffstat (limited to 'base/p5-xml-writer/Pkgfile')
-rwxr-xr-x | base/p5-xml-writer/Pkgfile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/base/p5-xml-writer/Pkgfile b/base/p5-xml-writer/Pkgfile new file mode 100755 index 000000000..90db8c942 --- /dev/null +++ b/base/p5-xml-writer/Pkgfile @@ -0,0 +1,21 @@ +# Description: Parser perl pour XML +# URL: http://www.gtkperl.org +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: + +name=p5-xml-writer +version=0.606 +release=1 +source=(http://www.cpan.org/modules/by-module/XML/XML-Writer-$version.tar.gz) + +build() { + cd XML-Writer-$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 ||: +} |