blob: 5020bf4a4cab1aaa16ea80163b21de1c47382f25 (
plain)
1 # Description: A module to implement some of AutoConf macros in pure perl.
2 # URL: https://metacpan.org/release/Config-AutoConf
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: p5-capture-tiny
5
6 name=p5-config-autoconf
7 version=0.320
8 release=1
9 source=(https://cpan.metacpan.org/authors/id/A/AM/AMBS/Config-AutoConf-$version.tar.gz)
10
11 build() {
12 cd Config-AutoConf-$version
13 unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
14 export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
15 perl Makefile.PL
16 make
17 make DESTDIR=$PKG install
18 find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
19 }
|