mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-11-04 02:11:39 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			40 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# Automatically generated by apkbuild-cpan, template 4
 | 
						|
# Contributor: Celeste <cielesti@protonmail.com>
 | 
						|
# Maintainer: Celeste <cielesti@protonmail.com>
 | 
						|
pkgname=perl-algorithm-backoff
 | 
						|
pkgver=0.010
 | 
						|
pkgrel=0
 | 
						|
#_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
 | 
						|
_pkgreal=Algorithm-Backoff
 | 
						|
pkgdesc="Various backoff strategies for retry"
 | 
						|
url="https://metacpan.org/release/Algorithm-Backoff/"
 | 
						|
arch="noarch"
 | 
						|
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
 | 
						|
depends="perl"
 | 
						|
checkdepends="perl-test-exception perl-test-number-delta"
 | 
						|
subpackages="$pkgname-doc"
 | 
						|
source="https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/Algorithm-Backoff-$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
 | 
						|
}
 | 
						|
 | 
						|
sha512sums="
 | 
						|
11849a4f27caf6bfc03bafa39b641cfa258804b93a70b607523fce215b3f143322ff7731418727264ab86f63db38844d0b3cf8d0096acda1f3815ac1504066bb  Algorithm-Backoff-0.010.tar.gz
 | 
						|
"
 |