diff options
author | Erich Eckner <git@eckner.net> | 2020-04-19 00:26:22 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-04-19 00:26:22 +0200 |
commit | 43d69f8e52c705267194d167f5c283130eb5d878 (patch) | |
tree | 3978a3d7cd7fb381a36309aab4062da8d50becde /cpan2cruxPorts | |
parent | 25de6fffc2fb3ebb7eba7626d08fbadff2566167 (diff) | |
download | crux-ports-43d69f8e52c705267194d167f5c283130eb5d878.tar.xz |
p5-unix-processors new
Diffstat (limited to 'cpan2cruxPorts')
-rw-r--r-- | cpan2cruxPorts/p5-unix-processors/.footprint | 19 | ||||
-rw-r--r-- | cpan2cruxPorts/p5-unix-processors/.md5sum | 1 | ||||
-rw-r--r-- | cpan2cruxPorts/p5-unix-processors/.signature | 5 | ||||
-rw-r--r-- | cpan2cruxPorts/p5-unix-processors/Pkgfile | 17 | ||||
-rwxr-xr-x | cpan2cruxPorts/p5-unix-processors/lastVersion.sh | 11 |
5 files changed, 53 insertions, 0 deletions
diff --git a/cpan2cruxPorts/p5-unix-processors/.footprint b/cpan2cruxPorts/p5-unix-processors/.footprint new file mode 100644 index 0000000..13479ac --- /dev/null +++ b/cpan2cruxPorts/p5-unix-processors/.footprint @@ -0,0 +1,19 @@ +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/linux-thread-multi/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/Unix/ +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/Unix/Processors.pm +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/Unix/Processors/ +-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/Unix/Processors/Info.pm +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/Unix/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/Unix/Processors/ +-r-xr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/Unix/Processors/Processors.so +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/Unix::Processors.3pm.gz +-r--r--r-- root/root usr/share/man/man3/Unix::Processors::Info.3pm.gz diff --git a/cpan2cruxPorts/p5-unix-processors/.md5sum b/cpan2cruxPorts/p5-unix-processors/.md5sum new file mode 100644 index 0000000..1e941cf --- /dev/null +++ b/cpan2cruxPorts/p5-unix-processors/.md5sum @@ -0,0 +1 @@ +7f90211861d572172d969b9b9798afaa Unix-Processors-2.046.tar.gz diff --git a/cpan2cruxPorts/p5-unix-processors/.signature b/cpan2cruxPorts/p5-unix-processors/.signature new file mode 100644 index 0000000..0a04e89 --- /dev/null +++ b/cpan2cruxPorts/p5-unix-processors/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/deepthought.pub +RWQxCptPusLGGh47cEYV9ygZpi0YSx9v1jsui+RAACemgwh5jh2UfZjuedgtqhB6y19aU4UDKBPQicKz6juGGnGqeeXIFWVJBQs= +SHA256 (Pkgfile) = 1c16c745f6d88c53e1387dfe2127c23612862d4bdf91ddcaa5496379c8a450fa +SHA256 (.footprint) = 81106ac695bd52597824b76e9e0d7396faf455e31a19dfffec97ef86a87ad6ef +SHA256 (Unix-Processors-2.046.tar.gz) = 3973ebdc44682c9c15c776f66e8be242cb4ff1dd52caf43ff446b74d4dccca06 diff --git a/cpan2cruxPorts/p5-unix-processors/Pkgfile b/cpan2cruxPorts/p5-unix-processors/Pkgfile new file mode 100644 index 0000000..21b3879 --- /dev/null +++ b/cpan2cruxPorts/p5-unix-processors/Pkgfile @@ -0,0 +1,17 @@ +# Description: Interface to processor (CPU) information +# URL: https://metacpan.org/release/Unix-Processors +# Maintainer: Erich Eckner, crux at eckner dot net + +name=p5-unix-processors +version=2.046 +release=1 +source=(https://cpan.metacpan.org/authors/id/W/WS/WSNYDER/Unix-Processors-$version.tar.gz) + +build() { + cd Unix-Processors-$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-unix-processors/lastVersion.sh b/cpan2cruxPorts/p5-unix-processors/lastVersion.sh new file mode 100755 index 0000000..9d5e0e7 --- /dev/null +++ b/cpan2cruxPorts/p5-unix-processors/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 |