mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
The cargo vars are now set in abuild.conf by default. Newlines done with: find . -name APKBUILD -exec sed -i '/^$/N;/^\n$/D' {} \; See also: https://stackoverflow.com/a/4522043
43 lines
1.5 KiB
Text
43 lines
1.5 KiB
Text
# Automatically generated by apkbuild-cpan, template 3
|
|
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
|
|
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
|
|
pkgname=perl-test-nginx
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=Test-Nginx
|
|
pkgver=0.30
|
|
pkgrel=0
|
|
pkgdesc="Data-driven test scaffold for Nginx C module"
|
|
url="https://metacpan.org/release/Test-Nginx/"
|
|
arch="noarch"
|
|
# License appears to be BSD-3-Clause but there is a one
|
|
# word difference s/HOLDER/OWNER in line 2 of the Disclaimer
|
|
license="BSD-3-Clause"
|
|
depends="
|
|
perl perl-libwww perl-ipc-run perl-text-diff perl-http-message perl-test-longstring
|
|
perl-list-moreutils perl-test-base perl-uri
|
|
"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/A/AG/AGENT/Test-Nginx-$pkgver.tar.gz
|
|
set-temp-paths.patch"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
check() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
}
|
|
|
|
sha512sums="
|
|
3a6727e567a213872f2ec6b0d782f40d867714787811911bf1637e76abcb3511c446b87e8a93106cf1473f2e49ebe375a2382658b8600a65cb8c3940cc0fa178 Test-Nginx-0.30.tar.gz
|
|
028133884a4cba921ee9533fd0d53d1c65a0cbce93c9b81ffbe4004aaed6cdeb2a5327824d4b0cefe0902ba8c9e9f2a7efed65869db3f0733a36f9a4c56bbed9 set-temp-paths.patch
|
|
"
|