diff options
author | Erich Eckner <git@eckner.net> | 2020-04-19 00:10:53 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-04-19 00:10:53 +0200 |
commit | 72251a39406e12de6165f2e8ba462483ee789be3 (patch) | |
tree | 188d775170d98174283114a0c204b9b5dd1ea471 /cpan2cruxPorts/p5-sys-info-base/Pkgfile | |
parent | 62cb64e27bed5635b824872847850fe6dc1945b5 (diff) | |
download | crux-ports-72251a39406e12de6165f2e8ba462483ee789be3.tar.xz |
p5-sys-info-base new
Diffstat (limited to 'cpan2cruxPorts/p5-sys-info-base/Pkgfile')
-rw-r--r-- | cpan2cruxPorts/p5-sys-info-base/Pkgfile | 17 |
1 files changed, 17 insertions, 0 deletions
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 +} |