contrib/p5-io-socket-ssl/Pkgfile

28 lines
712 B
Plaintext
Raw Normal View History

2008-03-30 12:23:03 +02:00
# Description: Nearly transparent SSL encapsulation for IO::Socket::INET
2014-12-13 13:17:50 +01:00
# URL: http://search.cpan.org/dist/IO-Socket-SSL/
2014-11-10 13:28:07 +01:00
# Maintainer: Danny Rawlins, crux at romster dot me
2008-03-30 12:23:03 +02:00
# Packager: Mikhail Kolesnik, mike at openbunker dot org
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
2014-12-13 13:17:50 +01:00
version=1.94
2008-03-30 12:23:03 +02:00
release=1
2012-06-20 10:52:32 +02:00
source=(http://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
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
}