aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-net-ssleay/APKBUILD
blob: 5a122b5e95cca05144066db86350f1f7e12ece2c (plain) (tree)
1
2
3
4
5
6
7
8
9



                                                    
           
        
                                          
                                             
          
                      
              
                                                     
                                                                      
                          
                                                                                   
                                     
                                                               

         
                                                                 



            
                 


           
                                      

                                                   


                                                  
                                                                                                                                                                     
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-net-ssleay
_realname=Net-SSLeay
pkgver=1.90
pkgrel=3
pkgdesc="Perl extension for using OpenSSL"
url="https://metacpan.org/release/Net-SSLeay"
arch="all"
license="Artistic-2.0"
depends="perl"
makedepends="perl-dev openssl1.1-compat-dev zlib-dev"
checkdepends="perl-test-exception perl-test-warn perl-test-nowarnings"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-$pkgver.tar.gz"
builddir="$srcdir/$_realname-$pkgver"
options="!check" # testsuite assumes openssl 1.1 error messages

build() {
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
	make
}

check() {
	make test
}

package() {
	make DESTDIR="$pkgdir" install

	# creates file collision among perl modules
	find "$pkgdir" -name perllocal.pod -delete
}

sha512sums="8a5f251b5ef1d8c2d619d984594a7a22ddeed2e5e726fe683a45f299d7878f4ca8ffab00480ebf5ef7a94ae1fcf6be05dfdaa68b8bfe2ad68443150765adb891  Net-SSLeay-1.90.tar.gz"