blob: f0e371b5386d307d75c94b334e63340f5db567ad (
plain)
1 # Description: Perl extension for using OpenSSL.
2 # URL: http://search.cpan.org/~flora/Net-SSLeay/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Packager: Younes Hafri, ycrux at club dash internet dot fr
5 # Depends on: openssl
6
7 name=p5-net-ssleay
8 version=1.48
9 release=1
10 source=(http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/Net-SSLeay-$version.tar.gz)
11
12 build() {
13 cd Net-SSLeay-$version
14 echo y | perl Makefile.PL
15 make OPTIMIZE="$CFLAGS"
16 make DESTDIR=$PKG install
17
18 # Remove perlcrap
19 find $PKG -type f \( \
20 -name '.packlist' -or \
21 -name '*.bs' -or \
22 -name 'perllocal.pod' \) -delete
23
24 # Remove empty directories
25 find $PKG -depth -empty -delete
26 }
|