diff options
-rw-r--r-- | cpan2cruxPorts/p5-sys-info/.footprint | 11 | ||||
-rw-r--r-- | cpan2cruxPorts/p5-sys-info/.md5sum | 1 | ||||
-rw-r--r-- | cpan2cruxPorts/p5-sys-info/.signature | 5 | ||||
-rw-r--r-- | cpan2cruxPorts/p5-sys-info/Pkgfile | 17 | ||||
-rwxr-xr-x | cpan2cruxPorts/p5-sys-info/lastVersion.sh | 11 |
5 files changed, 45 insertions, 0 deletions
diff --git a/cpan2cruxPorts/p5-sys-info/.footprint b/cpan2cruxPorts/p5-sys-info/.footprint new file mode 100644 index 0000000..7d29d8e --- /dev/null +++ b/cpan2cruxPorts/p5-sys-info/.footprint @@ -0,0 +1,11 @@ +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/Sys/ +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Sys/Info.pm +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/Sys::Info.3pm.gz diff --git a/cpan2cruxPorts/p5-sys-info/.md5sum b/cpan2cruxPorts/p5-sys-info/.md5sum new file mode 100644 index 0000000..987cf3a --- /dev/null +++ b/cpan2cruxPorts/p5-sys-info/.md5sum @@ -0,0 +1 @@ +e95a24fc3c37550ce4489280869d6dd2 Sys-Info-0.7811.tar.gz diff --git a/cpan2cruxPorts/p5-sys-info/.signature b/cpan2cruxPorts/p5-sys-info/.signature new file mode 100644 index 0000000..2df138b --- /dev/null +++ b/cpan2cruxPorts/p5-sys-info/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/deepthought.pub +RWQxCptPusLGGioDoVc8mlIOY6SpXuVAGWSKwzRiIqZCnlCcs7a3pYW6AemvP9PJ9P4CLfuPNT3ENRfjXxXP0tNmMwZapllBnwo= +SHA256 (Pkgfile) = 519ce129b863636323420071971c4ffe79b1cb18920083052f38007ee1e71653 +SHA256 (.footprint) = 93d2f83cfe40d1d91852ebfcd86b6c82191cd48f413f41ea568b13a7f8157fcb +SHA256 (Sys-Info-0.7811.tar.gz) = 566482bff3427c198d7955468ed945a8e736c4a2925151fdef96801ef8a401e1 diff --git a/cpan2cruxPorts/p5-sys-info/Pkgfile b/cpan2cruxPorts/p5-sys-info/Pkgfile new file mode 100644 index 0000000..2d516d3 --- /dev/null +++ b/cpan2cruxPorts/p5-sys-info/Pkgfile @@ -0,0 +1,17 @@ +# Description: Perl module to extract and collect information from the host system. +# URL: https://metacpan.org/release/Sys-Info +# Maintainer: Erich Eckner, crux at eckner dot net + +name=p5-sys-info +version=0.7811 +release=1 +source=(https://cpan.metacpan.org/authors/id/B/BU/BURAK/Sys-Info-$version.tar.gz) + +build() { + cd Sys-Info-$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-sys-info/lastVersion.sh b/cpan2cruxPorts/p5-sys-info/lastVersion.sh new file mode 100755 index 0000000..9d5e0e7 --- /dev/null +++ b/cpan2cruxPorts/p5-sys-info/lastVersion.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +wget --output-document=- "https://cpan.metacpan.org/authors/id/B/BU/BURAK/" 2> /dev/null | \ + tr '"' '\n' | \ + sed ' + s/^Sys-Info-\([0-9.]\+\)\.tar\.gz$/\1/ + t + d + ' | \ + sort -V | \ + tail -n1 |