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