contrib/p5-io-socket-ssl/Pkgfile

27 lines
661 B
Plaintext
Raw Normal View History

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