aboutsummaryrefslogblamecommitdiffstats
path: root/testing/perl-extutils-makemaker/APKBUILD
blob: b1725cfee2dd511d61fd23d777e9bf8dc4054964 (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.52
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="c03b055590c972825221d403b713ce95a22595c53a4b89a6d4d2a01b46bce9d66004c8dca6131187707c3ef41926a1680d57e81b8c86224b4fb922c774ab7130  ExtUtils-MakeMaker-7.52.tar.gz"