summaryrefslogtreecommitdiff
path: root/repo/perl-xml-sax-base
diff options
context:
space:
mode:
Diffstat (limited to 'repo/perl-xml-sax-base')
-rw-r--r--repo/perl-xml-sax-base/perl-xml-sax-base.xibuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/repo/perl-xml-sax-base/perl-xml-sax-base.xibuild b/repo/perl-xml-sax-base/perl-xml-sax-base.xibuild
new file mode 100644
index 0000000..f0a2343
--- /dev/null
+++ b/repo/perl-xml-sax-base/perl-xml-sax-base.xibuild
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+NAME="perl-xml-sax-base"
+DESC="Base class SAX Drivers and Filters"
+
+MAKEDEPS=""
+
+PKG_VER=1.09
+SOURCE="https://cpan.metacpan.org/authors/id/G/GR/GRANTM/XML-SAX-Base-$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
+}
+