summaryrefslogtreecommitdiff
path: root/repo/perl-xml-namespacesupport/perl-xml-namespacesupport.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/perl-xml-namespacesupport/perl-xml-namespacesupport.xibuild')
-rw-r--r--repo/perl-xml-namespacesupport/perl-xml-namespacesupport.xibuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/repo/perl-xml-namespacesupport/perl-xml-namespacesupport.xibuild b/repo/perl-xml-namespacesupport/perl-xml-namespacesupport.xibuild
new file mode 100644
index 0000000..1c453a5
--- /dev/null
+++ b/repo/perl-xml-namespacesupport/perl-xml-namespacesupport.xibuild
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+NAME="perl-xml-namespacesupport"
+DESC="Generic namespace helpers (ported from SAX2)"
+
+MAKEDEPS=""
+
+PKG_VER=1.12
+SOURCE="https://cpan.metacpan.org/authors/id/P/PE/PERIGRIN/XML-NamespaceSupport-$PKG_VER.tar.gz"
+
+build() {
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ make test
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+ find "$PKG_DEST" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+