summaryrefslogtreecommitdiff
path: root/cpan2cruxPorts/p5-sys-info-driver-unknown/Pkgfile
blob: f8e99c78a740b3a877139cff01b70d5a3280c82d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Description: Perl module to extract and collect information from the host system.
# URL: https://metacpan.org/release/Sys-Info-Driver-Unknown
# Maintainer: Erich Eckner, crux at eckner dot net

name=p5-sys-info-driver-unknown
version=0.79
release=4
source=(https://cpan.metacpan.org/authors/id/B/BU/BURAK/Sys-Info-Driver-Unknown-$version.tar.gz)

build() {
	cd Sys-Info-Driver-Unknown-$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
}