blob: 5a4b94d583a555af34edf9dfa195172616a89fa6 (
plain)
1 # Description: Nearly transparent SSL encapsulation for IO::Socket::INET
2 # URL: https://metacpan.org/pod/IO::Socket::SSL
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: p5-net-ssleay p5-uri
5
6 name=p5-io-socket-ssl
7 version=2.069
8 release=1
9 source=(https://www.cpan.org/modules/by-module/IO/IO-Socket-SSL-$version.tar.gz)
10
11 build() {
12 cd IO-Socket-SSL-$version
13 yes | perl Makefile.PL
14 make OPTIMIZE="$CFLAGS"
15 make DESTDIR=$PKG install
16
17 # Remove perlcrap
18 find $PKG \( \
19 -name '.packlist' -or \
20 -name '*.bs' -or \
21 -name 'autosplit.ix' -or \
22 -name 'perllocal.pod' \) -delete
23
24 # Remove empty directories
25 find $PKG -depth -empty -delete
26 }
|