mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 12:01:41 +02:00
testing/perl-gearman: adopt aport
This commit is contained in:
parent
a105968d0c
commit
2f62a8d85c
@ -1,39 +1,48 @@
|
||||
# Automatically generated by apkbuild-cpan, template 2
|
||||
# Automatically generated by apkbuild-cpan, template 3
|
||||
# Contributor: Nick Andrew <nick@nick-andrew.net>
|
||||
# Maintainer: Nick Andrew <nick@nick-andrew.net>
|
||||
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||
pkgname=perl-gearman
|
||||
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
|
||||
_pkgreal=Gearman
|
||||
pkgver=2.004.015
|
||||
pkgrel=2
|
||||
pkgdesc="Client and worker libraries for gearman job dispatch dispatch. Server is in separate package."
|
||||
url="https://metacpan.org/release/Gearman"
|
||||
pkgrel=3
|
||||
pkgdesc="Client and worker libraries for gearman job dispatch"
|
||||
url="https://metacpan.org/release/Gearman/"
|
||||
arch="noarch"
|
||||
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
|
||||
depends="perl perl-list-moreutils perl-string-crc32 perl-io-socket-ssl"
|
||||
makedepends="perl-file-which perl-test-tcp perl-test-timer perl-proc-guard perl-test-exception"
|
||||
depends="
|
||||
perl
|
||||
perl-io-socket-ssl
|
||||
perl-list-moreutils
|
||||
perl-string-crc32
|
||||
"
|
||||
checkdepends="
|
||||
perl-file-which
|
||||
perl-proc-guard
|
||||
perl-test-exception
|
||||
perl-test-tcp
|
||||
perl-test-timer
|
||||
"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/P/PA/PALIK/Gearman-$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
|
||||
prepare() {
|
||||
default_prepare
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
}
|
||||
|
||||
build() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
||||
}
|
||||
|
||||
check() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
make test
|
||||
}
|
||||
|
||||
sha512sums="020eb3ca55f8ef33f546f60c6cb8c70d2dbbae21f11e0c165443569805040df7b2a0c89bec9de1d3c7733c3edf25bffa8faf69857c29f8b2371b5e06f5b0fd11 Gearman-2.004.015.tar.gz"
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
020eb3ca55f8ef33f546f60c6cb8c70d2dbbae21f11e0c165443569805040df7b2a0c89bec9de1d3c7733c3edf25bffa8faf69857c29f8b2371b5e06f5b0fd11 Gearman-2.004.015.tar.gz
|
||||
"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user