forked from ports/contrib
18 lines
566 B
Plaintext
18 lines
566 B
Plaintext
# Description: Provide https support for LWP::UserAgent
|
|
# URL: https://metacpan.org/release/LWP-Protocol-https
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: ca-certificates p5-io-socket-ssl p5-libwww p5-net-http
|
|
|
|
name=p5-lwp-protocol-https
|
|
version=6.11
|
|
release=1
|
|
source=(https://cpan.metacpan.org/authors/id/O/OA/OALDERS/LWP-Protocol-https-$version.tar.gz)
|
|
|
|
build() {
|
|
cd LWP-Protocol-https-${version/-TRIAL/}
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
make DESTDIR=$PKG install
|
|
find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
|
|
}
|