aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-cgi-emulate-psgi/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/perl-cgi-emulate-psgi/APKBUILD')
-rw-r--r--main/perl-cgi-emulate-psgi/APKBUILD15
1 files changed, 3 insertions, 12 deletions
diff --git a/main/perl-cgi-emulate-psgi/APKBUILD b/main/perl-cgi-emulate-psgi/APKBUILD
index 0ce29687a2..d5b42588f4 100644
--- a/main/perl-cgi-emulate-psgi/APKBUILD
+++ b/main/perl-cgi-emulate-psgi/APKBUILD
@@ -8,39 +8,30 @@ pkgrel=2
pkgdesc="PSGI adapter for CGI"
url="https://metacpan.org/release/CGI-Emulate-PSGI/"
arch="noarch"
-license="GPL PerlArtistic"
-cpandepends="perl-http-message"
-cpanmakedepends=""
-cpancheckdepends="perl-test-requires"
-depends="$cpandepends perl-cgi"
-makedepends="perl-dev $cpanmakedepends"
-checkdepends="$cpancheckdepends"
+license="GPL-1.0-or-later OR Artistic-1.0-Perl"
+depends="perl perl-http-message perl-cgi"
+checkdepends="perl-test-requires"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/T/TO/TOKUHIROM/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare
-
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
}
build() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
check() {
- cd "$builddir"
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make test
}