summaryrefslogtreecommitdiff
path: root/cpan2cruxPorts/p5-unix-processors/Pkgfile
blob: a0bd9dc97e5739ac0d67a43c22fc508bc84688e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Description: Interface to processor (CPU) information
# URL: https://metacpan.org/release/Unix-Processors
# Maintainer: Erich Eckner, crux at eckner dot net

name=p5-unix-processors
version=2.046
release=4
source=(https://cpan.metacpan.org/authors/id/W/WS/WSNYDER/Unix-Processors-$version.tar.gz)

build() {
	cd Unix-Processors-$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
}