28 lines
678 B
Plaintext
28 lines
678 B
Plaintext
|
# Description: Perl extension for using OpenSSL.
|
||
|
# URL: http://search.cpan.org/~sampo/Net_SSLeay.pm-1.25/
|
||
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
||
|
# Packager: Younes Hafri, ycrux at club dash internet dot fr
|
||
|
# Depends on: openssl
|
||
|
|
||
|
name=p5-net-ssleay
|
||
|
version=1.30
|
||
|
release=1
|
||
|
source=(http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Net_SSLeay.pm-$version.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
cd Net_SSLeay.pm-$version
|
||
|
perl Makefile.PL
|
||
|
make OPTIMIZE="$CFLAGS"
|
||
|
make DESTDIR=$PKG install
|
||
|
|
||
|
# Remove perlcrap
|
||
|
find $PKG \( \
|
||
|
-name '.packlist' -or \
|
||
|
-name '*.bs' -or \
|
||
|
-name 'perllocal.pod' \) -delete
|
||
|
|
||
|
# Remove empty directories
|
||
|
find $PKG -depth -empty -delete
|
||
|
}
|
||
|
|