mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-13 08:26:35 +02:00
leaving the Maintainer comment there for better visual cues, syntax highlighting, and easy conversion to a Contributor comment since Contributor comments are not being removed, just treat my Maintainer comments like Contributor ones, as a normal comment
55 lines
1.6 KiB
Text
55 lines
1.6 KiB
Text
# Automatically generated by apkbuild-cpan, template 4
|
|
# Maintainer: Celeste <cielesti@protonmail.com>
|
|
maintainer="Celeste <cielesti@protonmail.com>"
|
|
pkgname=perl-opentracing
|
|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
|
_pkgreal=OpenTracing
|
|
pkgver=1.006
|
|
pkgrel=0
|
|
pkgdesc="Application process monitoring, as defined by opentracing.io"
|
|
url="https://metacpan.org/release/OpenTracing/"
|
|
arch="noarch"
|
|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
|
depends="
|
|
perl perl-bytes-random-secure perl-class-method-modifiers
|
|
perl-indirect perl-json-maybeutf8 perl-json-maybexs
|
|
perl-log-any perl-module-pluggable perl-net-address-ip-local
|
|
perl-role-tiny perl-syntax-keyword-try
|
|
"
|
|
checkdepends="
|
|
perl-log-any-adapter-tap perl-test-checkdeps
|
|
perl-test-deep perl-test-fatal perl-test-files
|
|
perl-test-refcount perl-test-warnings
|
|
"
|
|
subpackages="$pkgname-doc"
|
|
source="https://cpan.metacpan.org/authors/id/T/TE/TEAM/OpenTracing-$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL \
|
|
INSTALLDIRS=vendor \
|
|
NO_PACKLIST=1 \
|
|
NO_PERLLOCAL=1
|
|
make
|
|
}
|
|
|
|
check() {
|
|
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
doc() {
|
|
local file; find "$pkgdir" -name "*.pod" | while read -r file; do
|
|
amove "${file#"$pkgdir"}"
|
|
done
|
|
default_doc
|
|
}
|
|
|
|
sha512sums="
|
|
ad6c5f7488bcb4fba3b5ff669baffe6de0c9d092585322b60c0fa1d9eeb5984c7dd56676efed141ac7fa53ae3df446314153a45f1a794174371d82916c12902b OpenTracing-1.006.tar.gz
|
|
"
|