mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +01:00 
			
		
		
		
	https://metacpan.org/release/Protocol-Redis-Faster/ Optimized pure-perl Redis protocol parser/encoder
		
			
				
	
	
		
			39 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Automatically generated by apkbuild-cpan, template 4
 | |
| # Contributor: Celeste <cielesti@protonmail.com>
 | |
| # Maintainer: Celeste <cielesti@protonmail.com>
 | |
| pkgname=perl-protocol-redis-faster
 | |
| #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
 | |
| _pkgreal=Protocol-Redis-Faster
 | |
| pkgver=0.003
 | |
| pkgrel=0
 | |
| pkgdesc="Optimized pure-perl Redis protocol parser/encoder"
 | |
| url="https://metacpan.org/release/Protocol-Redis-Faster/"
 | |
| arch="noarch"
 | |
| license="Artistic-2.0"
 | |
| depends="perl perl-protocol-redis"
 | |
| subpackages="$pkgname-doc"
 | |
| source="https://cpan.metacpan.org/authors/id/D/DB/DBOOK/Protocol-Redis-Faster-$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="
 | |
| 6f67c2ee1f0cf5ba79dec2c1c188d3996fafcfc14003e91eb20cb580553bec266ded814570564bb0fad630f639ceb474d6e50666e99e3c0321ccb5559fc50dfa  Protocol-Redis-Faster-0.003.tar.gz
 | |
| "
 |