mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			40 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Automatically generated by apkbuild-cpan, template 4
 | |
| # Contributor: Timo Teräs <timo.teras@iki.fi>
 | |
| # Maintainer: Celeste <cielesti@protonmail.com>
 | |
| pkgname=perl-string-crc32
 | |
| pkgver=2.100
 | |
| pkgrel=4
 | |
| #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
 | |
| _pkgreal=String-CRC32
 | |
| pkgdesc="Perl interface for cyclic redundancy check generation"
 | |
| url="https://metacpan.org/release/String-CRC32/"
 | |
| arch="all"
 | |
| license="Public-Domain"
 | |
| depends="perl"
 | |
| makedepends="perl-dev"
 | |
| subpackages="$pkgname-doc"
 | |
| source="https://cpan.metacpan.org/authors/id/L/LE/LEEJO/String-CRC32-$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="
 | |
| 24e5f69aa02b16c888fa412afd28f907756e344662d66d05759ed212d97ce3f0a05fbf5bdd1137bc31ae37e27d0778fe23d75def368e051ab1cbc4b90c96907d  String-CRC32-2.100.tar.gz
 | |
| "
 |