diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-05-29 00:19:18 -0300 |
---|---|---|
committer | Kevin Daudt <kdaudt@alpinelinux.org> | 2019-05-29 04:41:44 +0000 |
commit | c877dc1a45b97598c5010a3b1da3686186fdccbb (patch) | |
tree | 0278024563ea27c7d00046d51e45e3bb3c467cbe /testing/perl-gearman | |
parent | ed2f3c675342b3193e53009a2c8130ea24f3143f (diff) | |
download | aports-c877dc1a45b97598c5010a3b1da3686186fdccbb.tar.bz2 aports-c877dc1a45b97598c5010a3b1da3686186fdccbb.tar.xz |
testing/perl-gearman: modernize, fix license
Closes GH-8234
Diffstat (limited to 'testing/perl-gearman')
-rw-r--r-- | testing/perl-gearman/APKBUILD | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/testing/perl-gearman/APKBUILD b/testing/perl-gearman/APKBUILD index fc29b80819..aab17297c4 100644 --- a/testing/perl-gearman/APKBUILD +++ b/testing/perl-gearman/APKBUILD @@ -4,43 +4,37 @@ pkgname=perl-gearman _pkgreal=Gearman pkgver=2.004.008 -pkgrel=0 +pkgrel=1 pkgdesc="Client and worker libraries for gearman job dispatch dispatch. Server is in separate package." url="http://search.cpan.org/dist/Gearman/" arch="noarch" -license="GPL PerlArtistic" +license="GPL-1.0-or-later OR Artistic-1.0-Perl" cpandepends="perl-list-moreutils perl-string-crc32 perl-io-socket-ssl" -cpanmakedepends="perl-file-which perl-test-tcp perl-test-timer perl-proc-guard perl-io-socket-ssl perl-test-exception" -cpancheckdepends="" +cpanmakedepends="perl-file-which perl-test-tcp perl-test-timer perl-proc-guard + perl-test-exception" depends="$cpandepends" makedepends="perl-dev $cpanmakedepends" -checkdepends="$cpancheckdepends" subpackages="$pkgname-doc" source="http://search.cpan.org/CPAN/authors/id/P/PA/PALIK/$_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 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 } |