2019-08-31 12:42:43 +02:00
|
|
|
# Description: Handle Common Gateway Interface requests and responses
|
|
|
|
# URL: https://metacpan.org/release/CGI
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
# Depends on: p5-html-parser
|
|
|
|
|
|
|
|
name=p5-cgi
|
2021-05-06 10:34:01 +02:00
|
|
|
version=4.52
|
2019-08-31 12:42:43 +02:00
|
|
|
release=1
|
|
|
|
source=(https://cpan.metacpan.org/authors/id/L/LE/LEEJO/CGI-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd CGI-$version
|
|
|
|
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
|
|
|
|
unset PERL5LIB PERL_MM_OPT
|
|
|
|
/usr/bin/perl Makefile.PL
|
|
|
|
make
|
|
|
|
make install INSTALLDIRS=vendor DESTDIR=$PKG
|
|
|
|
find $PKG \( -name '.packlist' -o -name '*.pod' \) -delete
|
|
|
|
}
|