mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 16:31:40 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			38 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Automatically generated by apkbuild-cpan, template 4
 | |
| # Contributor: Celeste <cielesti@protonmail.com>
 | |
| # Maintainer: Celeste <cielesti@protonmail.com>
 | |
| pkgname=perl-net-libresolv
 | |
| pkgver=0.03
 | |
| pkgrel=1
 | |
| #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
 | |
| _pkgreal=Net-LibResolv
 | |
| pkgdesc="Perl wrapper around libresolv"
 | |
| url="https://metacpan.org/release/Net-LibResolv/"
 | |
| arch="all"
 | |
| license="GPL-1.0-or-later OR Artistic-1.0-Perl"
 | |
| depends="perl"
 | |
| makedepends="perl-dev perl-extutils-cchecker perl-module-build"
 | |
| subpackages="$pkgname-doc"
 | |
| source="https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Net-LibResolv-$pkgver.tar.gz"
 | |
| builddir="$srcdir/$_pkgreal-$pkgver"
 | |
| 
 | |
| build() {
 | |
| 	export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
 | |
| 	perl Build.PL \
 | |
| 		--installdirs=vendor \
 | |
| 		--create_packlist=0
 | |
| 	./Build
 | |
| }
 | |
| 
 | |
| check() {
 | |
| 	./Build test
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	./Build install --destdir="$pkgdir"
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| 78c447eed6c3222b66627f2930e95a78bd5688d78d242e6de19a7806f94ccd5132a2537e4584a31805d2eaacae91af85ef5d6c64a6116e3a268cafe8a2e2bb2f  Net-LibResolv-0.03.tar.gz
 | |
| "
 |