aboutsummaryrefslogblamecommitdiffstats
path: root/testing/perl-extutils-makemaker/APKBUILD
blob: ee3329a12f3f4b41e304374a09dffda91c503d97 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                      

                                                           
                               
                                                              
                           
           
        
                                  
                                                      
             
                                               
              
                      
                          
                                                                                           
                                    
 
         

                                                                     



            
                                                                
                 


           
                                      


                                                                           
 
 
 


                                                                                                                                                                
# Automatically generated by apkbuild-cpan, template 3
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-extutils-makemaker
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=ExtUtils-MakeMaker
pkgver=7.64
pkgrel=0
pkgdesc="Create a module Makefile"
url="https://metacpan.org/release/ExtUtils-MakeMaker/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/B/BI/BINGOS/ExtUtils-MakeMaker-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

build() {
	export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
	PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
	make test
}

package() {
	make DESTDIR="$pkgdir" install
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}




sha512sums="
8e06de493c71923a3a3720c9211038a06c6ee6ddb16add037e364d44f1cb6354d87ea1137eba0df19ce70e370011e0dc49decfb9e0d4f6332a695f8a7fe393f5  ExtUtils-MakeMaker-7.64.tar.gz
"