contrib/p5-net-ssleay/Pkgfile

27 lines
664 B
Plaintext
Raw Normal View History

2008-03-30 12:23:34 +02:00
# Description: Perl extension for using OpenSSL.
2016-03-08 12:54:17 +01:00
# URL: http://search.cpan.org/dist/Net-SSLeay/
2014-11-10 13:28:07 +01:00
# Maintainer: Danny Rawlins, crux at romster dot me
2008-03-30 12:23:34 +02:00
# Packager: Younes Hafri, ycrux at club dash internet dot fr
# Depends on: openssl
name=p5-net-ssleay
2017-08-23 01:48:19 +02:00
version=1.81
2011-07-28 13:20:00 +02:00
release=1
2012-06-20 10:47:48 +02:00
source=(http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/Net-SSLeay-$version.tar.gz)
2008-03-30 12:23:34 +02:00
build() {
2011-07-28 13:20:00 +02:00
cd Net-SSLeay-$version
echo y | perl Makefile.PL
2008-03-30 12:23:34 +02:00
make OPTIMIZE="$CFLAGS"
make DESTDIR=$PKG install
# Remove perlcrap
find $PKG -type f \( \
2008-03-30 12:23:34 +02:00
-name '.packlist' -or \
-name '*.bs' -or \
-name 'perllocal.pod' \) -delete
# Remove empty directories
find $PKG -depth -empty -delete
}