blob: ab3a672cc5dfa2e4da8d4d5ed7c6501bd1f2b819 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Automatically generated by apkbuild-cpan, template 1
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-io-socket-ssl
_pkgreal=IO-Socket-SSL
pkgver=1.953
pkgrel=1
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="cfeef54e8c209f2a454fa4bfcc8cb04e IO-Socket-SSL-1.953.tar.gz"
sha256sums="4fa57c9385999e942a1f296b9f45c387a78bccb40db574585b38a9da5736a3d1 IO-Socket-SSL-1.953.tar.gz"
sha512sums="062a75b44dc4075d64412c22dbab28b8cccc4b396bb3a18eb8c5b27b44853cec89f34cea0b82226070fc3b0a68ede00c9d5117f89e0b6e9ffc9322afa55cae94 IO-Socket-SSL-1.953.tar.gz"
|