summaryrefslogtreecommitdiff
path: root/cpan2cruxPorts/p5-sys-info/Pkgfile
blob: 376d057948e0059f8f8316d2794d6b26dbaa745e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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
# Depends: p5-sys-info-base

name=p5-sys-info
version=0.7811
release=3
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
}