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
|
2023-08-13 09:35:19 +02:00
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
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
|
2023-11-07 06:32:16 +01:00
|
|
|
version=2.084
|
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() {
|
2023-08-13 09:35:19 +02:00
|
|
|
cd IO-Socket-SSL-$version
|
|
|
|
yes | perl Makefile.PL
|
|
|
|
make OPTIMIZE="$CFLAGS"
|
|
|
|
make DESTDIR=$PKG install
|
2008-03-30 20:23:03 +10:00
|
|
|
|
2023-08-13 09:35:19 +02:00
|
|
|
# Remove perlcrap
|
|
|
|
find $PKG \( \
|
|
|
|
-name '.packlist' -or \
|
|
|
|
-name '*.bs' -or \
|
|
|
|
-name 'autosplit.ix' -or \
|
|
|
|
-name 'perllocal.pod' \) -delete
|
2008-03-30 20:23:03 +10:00
|
|
|
|
2023-08-13 09:35:19 +02:00
|
|
|
# Remove empty directories
|
|
|
|
find $PKG -depth -empty -delete
|
2008-03-30 20:23:03 +10:00
|
|
|
}
|