# 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 # Depends: p5-sys-info-base p5-unix-processors 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 }