summaryrefslogtreecommitdiff
path: root/cpan2cruxPorts/p5-sys-info-driver-linux/Pkgfile
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-04-19 00:21:08 +0200
committerErich Eckner <git@eckner.net>2020-04-19 00:21:08 +0200
commita1e1e09c2daf13ba6896783a300c94785e3b2525 (patch)
tree4f7b5564f7475667f5926055278c1ead8fc046a1 /cpan2cruxPorts/p5-sys-info-driver-linux/Pkgfile
parentfae9eab7858de2f4883368b04b77dfa310850406 (diff)
downloadcrux-ports-a1e1e09c2daf13ba6896783a300c94785e3b2525.tar.xz
p5-sys-info-driver-linux new
Diffstat (limited to 'cpan2cruxPorts/p5-sys-info-driver-linux/Pkgfile')
-rw-r--r--cpan2cruxPorts/p5-sys-info-driver-linux/Pkgfile17
1 files changed, 17 insertions, 0 deletions
diff --git a/cpan2cruxPorts/p5-sys-info-driver-linux/Pkgfile b/cpan2cruxPorts/p5-sys-info-driver-linux/Pkgfile
new file mode 100644
index 0000000..011bcc8
--- /dev/null
+++ b/cpan2cruxPorts/p5-sys-info-driver-linux/Pkgfile
@@ -0,0 +1,17 @@
+# Description: Perl module to extract and collect information from the host system.
+# URL: https://metacpan.org/release/Sys-Info-Driver-Linux
+# Maintainer: Erich Eckner, crux at eckner dot net
+
+name=p5-sys-info-driver-linux
+version=0.7905
+release=1
+source=(https://cpan.metacpan.org/authors/id/B/BU/BURAK/Sys-Info-Driver-Linux-$version.tar.gz)
+
+build() {
+ cd Sys-Info-Driver-Linux-$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
+}