forked from ports/contrib
27 lines
676 B
Plaintext
27 lines
676 B
Plaintext
# Description: Nearly transparent SSL encapsulation for IO::Socket::INET
|
|
# URL: https://metacpan.org/pod/IO::Socket::SSL
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: p5-net-ssleay p5-uri
|
|
|
|
name=p5-io-socket-ssl
|
|
version=2.084
|
|
release=1
|
|
source=(https://www.cpan.org/modules/by-module/IO/IO-Socket-SSL-$version.tar.gz)
|
|
|
|
build() {
|
|
cd IO-Socket-SSL-$version
|
|
yes | perl Makefile.PL
|
|
make OPTIMIZE="$CFLAGS"
|
|
make DESTDIR=$PKG install
|
|
|
|
# Remove perlcrap
|
|
find $PKG \( \
|
|
-name '.packlist' -or \
|
|
-name '*.bs' -or \
|
|
-name 'autosplit.ix' -or \
|
|
-name 'perllocal.pod' \) -delete
|
|
|
|
# Remove empty directories
|
|
find $PKG -depth -empty -delete
|
|
}
|