forked from ports/contrib
p5-net-ssleay: adopted port
This commit is contained in:
parent
41a6019214
commit
09a83d272d
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF37F2GhsO8v0TpbxnwdTmnXyDDEZt0boGHT27UQQTvhUqgELomOVF9hIw3v2cJnpi0odhe4O/B9gwPl4HgSCoFQc=
|
||||
SHA256 (Pkgfile) = 3912645d927c0d3f676415f876b66a7f877b30c00e5a11310ff5cce3a97f1371
|
||||
RWSagIOpLGJF35N4FDEs32IEed0DbRWwxQ0rwRWA99JMkg+a1CJTVCpb/egftKfPjKf2oDS0jFKYTltPgd0hPBiG2GkTObZI9QI=
|
||||
SHA256 (Pkgfile) = 5fe7832bbbdb19a0724f9aa723002cb2dff835f14a7116cc7959cf64237405d6
|
||||
SHA256 (.footprint) = 40437519f03b9f1899c9e38a4206299c989035e87e032c45853de52183aac985
|
||||
SHA256 (Net-SSLeay-1.92.tar.gz) = 47c2f2b300f2e7162d71d699f633dd6a35b0625a00cbda8c50ac01144a9396a9
|
||||
|
@ -1,28 +1,26 @@
|
||||
# Description: Perl extension for using OpenSSL.
|
||||
# URL: https://metacpan.org/release/Net-SSLeay
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: openssl
|
||||
|
||||
name=p5-net-ssleay
|
||||
version=1.92
|
||||
_realname=Net-SSLeay
|
||||
_author=CHRISN
|
||||
release=1
|
||||
source=(https://cpan.metacpan.org/authors/id/${_author::1}/${_author::2}/$_author/$_realname-$version.tar.gz)
|
||||
source=(https://cpan.metacpan.org/authors/id/C/CH/CHRISN/Net-SSLeay-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $_realname-$version
|
||||
cd Net-SSLeay-$version
|
||||
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make OPTIMIZE="$CFLAGS"
|
||||
make DESTDIR=$PKG install
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
make OPTIMIZE="$CFLAGS"
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
# Remove perlcrap
|
||||
find $PKG -type f \( \
|
||||
-name '.packlist' -or \
|
||||
-name '*.bs' -or \
|
||||
-name 'perllocal.pod' \) -delete
|
||||
# Remove perlcrap
|
||||
find $PKG -type f \( \
|
||||
-name '.packlist' -or \
|
||||
-name '*.bs' -or \
|
||||
-name 'perllocal.pod' \) -delete
|
||||
|
||||
# Remove empty directories
|
||||
find $PKG -depth -empty -delete
|
||||
# Remove empty directories
|
||||
find $PKG -depth -empty -delete
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user