1
0
forked from ports/contrib

27 lines
661 B
Plaintext
Raw Normal View History

2008-03-30 20:23:03 +10:00
# Description: Nearly transparent SSL encapsulation for IO::Socket::INET
2020-06-01 15:45:48 +00:00
# URL: https://metacpan.org/pod/IO::Socket::SSL
2014-11-10 23:28:07 +11:00
# Maintainer: Danny Rawlins, crux at romster dot me
2012-06-20 18:52:32 +10:00
# Depends on: p5-net-ssleay p5-uri
2008-03-30 20:23:03 +10:00
name=p5-io-socket-ssl
2020-04-23 13:56:53 +00:00
version=2.068
2008-03-30 20:23:03 +10:00
release=1
2017-04-13 21:55:29 +10:00
source=(https://www.cpan.org/modules/by-module/IO/IO-Socket-SSL-$version.tar.gz)
2008-03-30 20:23:03 +10:00
build() {
cd IO-Socket-SSL-$version
2016-03-08 22:35:17 +11:00
yes | perl Makefile.PL
2008-03-30 20:23:03 +10:00
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
}