blob: f631d989d49b9fc6e08a087f4a64664c72cf9f5e (
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=5
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
}
|