summaryrefslogtreecommitdiff
path: root/cpan2cruxPorts/p5-sys-info/Pkgfile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-04-18 00:33:40 +0200
committerErich Eckner <git@eckner.net>2020-04-18 00:33:40 +0200
commitde17a621004b884113541ed54b79c5866c0dd237 (patch)
treefb2fc57d9d1cb5c02461eb69f9943d7fa8dc111e /cpan2cruxPorts/p5-sys-info/Pkgfile
parent0b1fd77f7f9ada7ed7b55e7fc3c6cae1333c6c73 (diff)
downloadcrux-ports-de17a621004b884113541ed54b79c5866c0dd237.tar.xz
perl-sys-info new
Diffstat (limited to 'cpan2cruxPorts/p5-sys-info/Pkgfile')
-rw-r--r--cpan2cruxPorts/p5-sys-info/Pkgfile17
1 files changed, 17 insertions, 0 deletions
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
+}