mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 23:24:44 +02:00
44 lines
1.2 KiB
Text
44 lines
1.2 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=perl-io-socket-ssl
|
|
pkgver=2.090
|
|
pkgrel=0
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=IO-Socket-SSL
|
|
pkgdesc="Nearly transparent SSL encapsulation for IO::Socket::INET"
|
|
url="https://metacpan.org/release/IO-Socket-SSL/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="perl ca-certificates perl-net-ssleay perl-mozilla-ca"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/S/SU/SULLR/IO-Socket-SSL-$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 \
|
|
NO_PACKLIST=1 \
|
|
NO_PERLLOCAL=1
|
|
make
|
|
}
|
|
|
|
check() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
doc() {
|
|
local file; find "$pkgdir" -name "*.pod" | while read -r file; do
|
|
amove "${file#"$pkgdir"}"
|
|
done
|
|
default_doc
|
|
}
|
|
|
|
sha512sums="
|
|
d75d3fff50045f41c5ccfe6bbd80149f5d06845423a9149d7c2e9631cbe5cc68b1d9edc5e05a802609928b05ef4648ff645cc4d7cb8f46f194ec2a441aef7428 IO-Socket-SSL-2.090.tar.gz
|
|
"
|