summaryrefslogtreecommitdiff
path: root/cpan2cruxPorts/p5-xml-simple
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-05-27 10:13:52 +0200
committerErich Eckner <git@eckner.net>2018-05-27 10:13:52 +0200
commit14a8f5d3c7889f2046a008b1b1dc29f485ebb359 (patch)
tree644ebb60f7155dd5c139d233857684fbcd8546e6 /cpan2cruxPorts/p5-xml-simple
downloadcrux-ports-14a8f5d3c7889f2046a008b1b1dc29f485ebb359.tar.xz
initial commit
Diffstat (limited to 'cpan2cruxPorts/p5-xml-simple')
-rw-r--r--cpan2cruxPorts/p5-xml-simple/.footprint14
-rw-r--r--cpan2cruxPorts/p5-xml-simple/.md5sum1
-rw-r--r--cpan2cruxPorts/p5-xml-simple/.signature5
-rw-r--r--cpan2cruxPorts/p5-xml-simple/Pkgfile18
-rwxr-xr-xcpan2cruxPorts/p5-xml-simple/lastVersion.sh8
5 files changed, 46 insertions, 0 deletions
diff --git a/cpan2cruxPorts/p5-xml-simple/.footprint b/cpan2cruxPorts/p5-xml-simple/.footprint
new file mode 100644
index 0000000..c288fb7
--- /dev/null
+++ b/cpan2cruxPorts/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.24/
+drwxr-xr-x root/root usr/lib/perl5/site_perl/5.24/XML/
+-r--r--r-- root/root usr/lib/perl5/site_perl/5.24/XML/Simple.pm
+drwxr-xr-x root/root usr/lib/perl5/site_perl/5.24/XML/Simple/
+-r--r--r-- root/root usr/lib/perl5/site_perl/5.24/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/cpan2cruxPorts/p5-xml-simple/.md5sum b/cpan2cruxPorts/p5-xml-simple/.md5sum
new file mode 100644
index 0000000..339fbfc
--- /dev/null
+++ b/cpan2cruxPorts/p5-xml-simple/.md5sum
@@ -0,0 +1 @@
+bb841dce889a26c89a1c2739970e9fbc XML-Simple-2.25.tar.gz
diff --git a/cpan2cruxPorts/p5-xml-simple/.signature b/cpan2cruxPorts/p5-xml-simple/.signature
new file mode 100644
index 0000000..bdd7cab
--- /dev/null
+++ b/cpan2cruxPorts/p5-xml-simple/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/deepthought.pub
+RWQxCptPusLGGiArnldEqhBRlmk2G34UUMfBHzv6aPARS70heykNNvPCG3qruY8bmPVWyZN0g5vFH7gUFjHDPBn3dr+nsk+zKgc=
+SHA256 (Pkgfile) = 4ad14aa47d6d3fc55bce8ec4038a5b7bf2f6ecff446f94242332250ecfa7ac6a
+SHA256 (.footprint) = 8576eadc86ffaec9ba10d8c2a9c00c244faf0936b6c0d5d97e3c06628de10edc
+SHA256 (XML-Simple-2.25.tar.gz) = 531fddaebea2416743eb5c4fdfab028f502123d9a220405a4100e68fc480dbf8
diff --git a/cpan2cruxPorts/p5-xml-simple/Pkgfile b/cpan2cruxPorts/p5-xml-simple/Pkgfile
new file mode 100644
index 0000000..9eeaf03
--- /dev/null
+++ b/cpan2cruxPorts/p5-xml-simple/Pkgfile
@@ -0,0 +1,18 @@
+# Description: Perl module to easily read/write XML.
+# URL: http://search.cpan.org/~grantm/XML-Simple-2.20/
+# Maintainer: Erich Eckner, crux at eckner dot net
+# Packager: Alan Mizrahi, alan at mizrahi dot com dot ve
+
+name=p5-xml-simple
+version=2.25
+release=1
+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 DESTDIR="$PKG" install
+ find "$PKG" \( -name perllocal.pod -o -name .packlist \) -delete
+ find "$PKG" -depth -type d -empty -delete
+}
diff --git a/cpan2cruxPorts/p5-xml-simple/lastVersion.sh b/cpan2cruxPorts/p5-xml-simple/lastVersion.sh
new file mode 100755
index 0000000..45e6da7
--- /dev/null
+++ b/cpan2cruxPorts/p5-xml-simple/lastVersion.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+wget --output-document=- "http://search.cpan.org/CPAN/authors/id/G/GR/GRANTM/" 2> /dev/null | \
+ tr "\"" "\n" | \
+ grep "^XML-Simple-.*\.tar\.gz\$" | \
+ sed "s/^XML-Simple-\(.*\)\.tar\.gz\$/\1/" | \
+ sort -V | \
+ tail -n1