summaryrefslogtreecommitdiffstats
path: root/base/p5-xml-parser/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/p5-xml-parser/Pkgfile')
-rwxr-xr-xbase/p5-xml-parser/Pkgfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/base/p5-xml-parser/Pkgfile b/base/p5-xml-parser/Pkgfile
new file mode 100755
index 000000000..558669692
--- /dev/null
+++ b/base/p5-xml-parser/Pkgfile
@@ -0,0 +1,19 @@
+# Description: Perl extension interface to James Clark's XML parser
+# URL: http://search.cpan.org/~msergeant/XML-Parser-2.36/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: expat
+
+name=p5-xml-parser
+version=2.36
+release=1
+source=( http://cpan.org/authors/id/M/MS/MSERGEANT/XML-Parser-$version.tar.gz)
+
+
+build() {
+ cd XML-Parser-$version
+ perl Makefile.PL
+ make OPTIMIZE="$CFLAGS"
+ make DESTDIR=$PKG install
+ find $PKG -name .packlist -o -name perllocal.pod -exec rm §'{}' \;
+}