summaryrefslogblamecommitdiff
path: root/system/perl-io-socket-ssl/APKBUILD
blob: ac8d7ccbf1e8fda62dd13bdf131d0af7ac394f0a (plain) (tree)
1
2
3
4
5
6
7
8
9
10



                                                                   


                               
            

                                                                    
                                                


                                                         
              
                          
                                                                                        

                                    
         
                                                                 



            



                 



                                                                           
                                                                                                                                                                         
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
pkgname=perl-io-socket-ssl
_pkgreal=IO-Socket-SSL
_author=SULLR
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
pkgver=2.067
pkgrel=0
pkgdesc="Perl module implementing SSL/TLS with IO::Socket interface"
url="https://metacpan.org/release/IO-Socket-SSL"
arch="noarch"
license="GPL-2.0-only OR Artistic-1.0-Perl"
depends="ca-certificates perl-net-libidn perl-net-ssleay"
makedepends=""
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

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

check() {
	make test
}

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

sha512sums="b7b9edc470f2283c363a6296d3ce23f8754cc1b1a763329ccc8a0bc81dca7ffbaf9a833fc8ac31e62f5f72cab7c689ea0d4d0e293f75fe176d1b5c71ed723516  IO-Socket-SSL-2.067.tar.gz"