From f6332a43c35387c4a2dea1746be5fd092890ae0e Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 27 Jun 2022 23:09:07 +0100 Subject: added lf and iptables --- repo/perl-xml-xpath/perl-xml-xpath.xibuild | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 repo/perl-xml-xpath/perl-xml-xpath.xibuild (limited to 'repo/perl-xml-xpath/perl-xml-xpath.xibuild') diff --git a/repo/perl-xml-xpath/perl-xml-xpath.xibuild b/repo/perl-xml-xpath/perl-xml-xpath.xibuild new file mode 100644 index 0000000..6c88577 --- /dev/null +++ b/repo/perl-xml-xpath/perl-xml-xpath.xibuild @@ -0,0 +1,24 @@ +#!/bin/sh + +NAME="perl-xml-xpath" +DESC="Parse and evaluate XPath statements." + +MAKEDEPS="perl-path-tiny" + +PKG_VER=1.44 +SOURCE="https://cpan.metacpan.org/authors/id/M/MA/MANWAR/XML-XPath-$PKG_VER.tar.gz" + +build() { + PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + make test +} + +package() { + make DESTDIR="$PKG_DEST" install + find "$PKG_DEST" \( -name perllocal.pod -o -name .packlist \) -delete +} + -- cgit v1.2.1