# Automatically generated by apkbuild-cpan, template 1 # Maintainer: Natanael Copa pkgname=perl-io-socket-ssl _pkgreal=IO-Socket-SSL pkgver=1.981 pkgrel=0 pkgdesc="Nearly transparent SSL encapsulation for IO::Socket::INET." url="http://search.cpan.org/dist/IO-Socket-SSL/" arch="noarch" license="GPL PerlArtistic" cpandepends="perl-net-ssleay" cpanmakedepends=" " depends="$cpandepends ca-certificates" makedepends="perl-dev $cpanmakedepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/S/SU/SULLR/$_pkgreal-$pkgver.tar.gz" _builddir="$srcdir/$_pkgreal-$pkgver" prepare() { cd "$_builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor } build() { cd "$_builddir" export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'` make && make test } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete } md5sums="fcc8b12caf85e757a299534b799d6af1 IO-Socket-SSL-1.981.tar.gz" sha256sums="d78f3aac72888a350962c2da87b2b459513a175d7ac641cb1482bacbb81e76eb IO-Socket-SSL-1.981.tar.gz" sha512sums="8f3f1dca3bee575894c66b956f70665a7febeb442908c34d8deaa8f9833b94b9ff12b44fa3536acf7ba89cf48aa77d3405f1c60e0f9d7cdfd52a5d224f72f839 IO-Socket-SSL-1.981.tar.gz"