summaryrefslogtreecommitdiff
path: root/cpan2cruxPorts/p5-unix-processors/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'cpan2cruxPorts/p5-unix-processors/Pkgfile')
-rw-r--r--cpan2cruxPorts/p5-unix-processors/Pkgfile17
1 files changed, 17 insertions, 0 deletions
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
+}