aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-crypt-openssl-guess/APKBUILD
blob: 3685dabdc42ca5af6b8862b9348df651b4855925 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                      

                                                     
                                                              
                            
           
        
                                    
                                                       
             

                                               
                          
                                                                                           

                                    
         

                                                                     
            

 
         
                                                                
                 


           



                                                                           


                                                                                                                                                                 
# Automatically generated by apkbuild-cpan, template 3
# Contributor:
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-crypt-openssl-guess
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
_pkgreal=Crypt-OpenSSL-Guess
pkgver=0.13
pkgrel=0
pkgdesc="Guess OpenSSL include path"
url="https://metacpan.org/release/Crypt-OpenSSL-Guess/"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/A/AK/AKIYM/Crypt-OpenSSL-Guess-$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="
1b3286d536bcb7545be636e33b5ff37bf334fbb7f3a99f4fcb32cf1166b1bc7cc179e9d39af1c7ac537630a75066353a1d7a0ab97816757a444dc0068029da97  Crypt-OpenSSL-Guess-0.13.tar.gz
"