diff --git a/p5-xml-simple/.footprint b/p5-xml-simple/.footprint new file mode 100644 index 000000000..2e1a95261 --- /dev/null +++ b/p5-xml-simple/.footprint @@ -0,0 +1,14 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/perl5/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/XML/ +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/XML/Simple.pm +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/XML/Simple/ +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/XML/Simple/FAQ.pod +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man3/ +-r--r--r-- root/root usr/share/man/man3/XML::Simple.3pm.gz +-r--r--r-- root/root usr/share/man/man3/XML::Simple::FAQ.3pm.gz diff --git a/p5-xml-simple/.signature b/p5-xml-simple/.signature new file mode 100644 index 000000000..2c73d8001 --- /dev/null +++ b/p5-xml-simple/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF36uWnqFuw04oDHE1zyr+a8b5UjlPxRNQh7DjlJ8L/cyP3rq2oJg7kQRxsjLTSEe2S0okD0QhVo7Uwb3ohRcO+Q0= +SHA256 (Pkgfile) = a79206bfd6d106aab65d9dbc92911f60432de03b9c9e5820a68b24116dcae96d +SHA256 (.footprint) = 6e50e7f9b566f9901d384c53a94e1316651a1ed80c0e733413c254e42b730743 +SHA256 (XML-Simple-2.25.tar.gz) = 531fddaebea2416743eb5c4fdfab028f502123d9a220405a4100e68fc480dbf8 diff --git a/p5-xml-simple/Pkgfile b/p5-xml-simple/Pkgfile new file mode 100644 index 000000000..db66afed9 --- /dev/null +++ b/p5-xml-simple/Pkgfile @@ -0,0 +1,24 @@ +# Description: An API for simple XML files +# URL: https://metacpan.org/release/XML-Simple +# Maintainer: Matt Housh, jaeger at crux dot ninja + +name=p5-xml-simple +version=2.25 +release=2 +source=(http://search.cpan.org/CPAN/authors/id/G/GR/GRANTM/XML-Simple-$version.tar.gz) + +build() { + cd XML-Simple-$version + + perl Makefile.PL + make OPTIMIZE="$CFLAGS" + make install DESTDIR=$PKG + + find $PKG -type f \( \ + -name '.packlist' -o \ + -name '*.bs' -o \ + -name 'autosplit.ix' -o \ + -name 'perllocal.pod' \) -delete + + find $PKG -depth -empty -delete +}