2008-03-30 20:23:34 +10:00
|
|
|
# Description: Perl extension for using OpenSSL.
|
2020-02-01 21:32:52 +11:00
|
|
|
# URL: https://metacpan.org/release/Net-SSLeay
|
2023-08-18 19:22:09 +02:00
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2008-03-30 20:23:34 +10:00
|
|
|
# Depends on: openssl
|
|
|
|
|
|
|
|
name=p5-net-ssleay
|
2024-01-08 18:36:44 +01:00
|
|
|
version=1.94
|
2011-07-28 21:20:00 +10:00
|
|
|
release=1
|
2023-08-18 19:22:09 +02:00
|
|
|
source=(https://cpan.metacpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-$version.tar.gz)
|
2008-03-30 20:23:34 +10:00
|
|
|
|
|
|
|
build() {
|
2023-08-18 19:22:09 +02:00
|
|
|
cd Net-SSLeay-$version
|
2020-02-01 21:32:52 +11:00
|
|
|
|
2023-08-18 19:22:09 +02:00
|
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make OPTIMIZE="$CFLAGS"
|
|
|
|
make DESTDIR=$PKG install
|
2008-03-30 20:23:34 +10:00
|
|
|
|
2023-08-18 19:22:09 +02:00
|
|
|
# Remove perlcrap
|
|
|
|
find $PKG -type f \( \
|
|
|
|
-name '.packlist' -or \
|
|
|
|
-name '*.bs' -or \
|
|
|
|
-name 'perllocal.pod' \) -delete
|
2008-03-30 20:23:34 +10:00
|
|
|
|
2023-08-18 19:22:09 +02:00
|
|
|
# Remove empty directories
|
|
|
|
find $PKG -depth -empty -delete
|
2008-03-30 20:23:34 +10:00
|
|
|
}
|