diff options
-rw-r--r-- | cpan2cruxPorts/p5-sys-info-base/.footprint | 25 | ||||
-rw-r--r-- | cpan2cruxPorts/p5-sys-info-base/.md5sum | 1 | ||||
-rw-r--r-- | cpan2cruxPorts/p5-sys-info-base/.signature | 5 | ||||
-rw-r--r-- | cpan2cruxPorts/p5-sys-info-base/Pkgfile | 17 | ||||
-rwxr-xr-x | cpan2cruxPorts/p5-sys-info-base/lastVersion.sh | 11 |
5 files changed, 59 insertions, 0 deletions
diff --git a/cpan2cruxPorts/p5-sys-info-base/.footprint b/cpan2cruxPorts/p5-sys-info-base/.footprint new file mode 100644 index 0000000..aedc210 --- /dev/null +++ b/cpan2cruxPorts/p5-sys-info-base/.footprint @@ -0,0 +1,25 @@ +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/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/Sys/Info/ +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Sys/Info/Base.pm +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Sys/Info/Constants.pm +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Sys/Info/Device.pm +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/Sys/Info/Device/ +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Sys/Info/Device/CPU.pm +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Sys/Info/Driver.pm +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Sys/Info/Helper.pm +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Sys/Info/OS.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::Base.3pm.gz +-r--r--r-- root/root usr/share/man/man3/Sys::Info::Constants.3pm.gz +-r--r--r-- root/root usr/share/man/man3/Sys::Info::Device.3pm.gz +-r--r--r-- root/root usr/share/man/man3/Sys::Info::Device::CPU.3pm.gz +-r--r--r-- root/root usr/share/man/man3/Sys::Info::Driver.3pm.gz +-r--r--r-- root/root usr/share/man/man3/Sys::Info::Helper.3pm.gz +-r--r--r-- root/root usr/share/man/man3/Sys::Info::OS.3pm.gz diff --git a/cpan2cruxPorts/p5-sys-info-base/.md5sum b/cpan2cruxPorts/p5-sys-info-base/.md5sum new file mode 100644 index 0000000..6a2ec0a --- /dev/null +++ b/cpan2cruxPorts/p5-sys-info-base/.md5sum @@ -0,0 +1 @@ +4f61c5ad351b896e27839ea8125ca2ec Sys-Info-Base-0.7807.tar.gz diff --git a/cpan2cruxPorts/p5-sys-info-base/.signature b/cpan2cruxPorts/p5-sys-info-base/.signature new file mode 100644 index 0000000..0a5ffa3 --- /dev/null +++ b/cpan2cruxPorts/p5-sys-info-base/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/deepthought.pub +RWQxCptPusLGGnoV28b58SdZJaW9lNr6BmWwYWJblhHlZJuRMfpu0pPPNAUDr0xoKJ+DdQZ2wJXT1hTd7oPxzNAaGT3MZIGt3Qg= +SHA256 (Pkgfile) = 2f5a88b28eb4f53e249c396ceed40541c32e4e4f56bad2da2164f2ca2d32bc49 +SHA256 (.footprint) = 7e9c51d0b275e4e9c62d06495afaeafc79a245cc498c6f175417a049a07239d2 +SHA256 (Sys-Info-Base-0.7807.tar.gz) = 132362b0046e8dc4f12e1560903623a88a8871d09bf1c29d93d48d3f4a582acb diff --git a/cpan2cruxPorts/p5-sys-info-base/Pkgfile b/cpan2cruxPorts/p5-sys-info-base/Pkgfile new file mode 100644 index 0000000..2ab0d9f --- /dev/null +++ b/cpan2cruxPorts/p5-sys-info-base/Pkgfile @@ -0,0 +1,17 @@ +# Description: Perl module to extract and collect information from the host system. +# URL: https://metacpan.org/release/Sys-Info-Base +# Maintainer: Erich Eckner, crux at eckner dot net + +name=p5-sys-info-base +version=0.7807 +release=1 +source=(https://cpan.metacpan.org/authors/id/B/BU/BURAK/Sys-Info-Base-$version.tar.gz) + +build() { + cd Sys-Info-Base-$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-base/lastVersion.sh b/cpan2cruxPorts/p5-sys-info-base/lastVersion.sh new file mode 100755 index 0000000..9d5e0e7 --- /dev/null +++ b/cpan2cruxPorts/p5-sys-info-base/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 |