mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-25 22:41:31 +02:00 
			
		
		
		
	https://metacpan.org/release/HTTP-Thin/ Thin Wrapper around HTTP::Tiny to play nice with HTTP::Message
		
			
				
	
	
		
			42 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Automatically generated by apkbuild-cpan, template 4
 | |
| # Contributor: Celeste <cielesti@protonmail.com>
 | |
| # Maintainer: Celeste <cielesti@protonmail.com>
 | |
| pkgname=perl-http-thin
 | |
| #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
 | |
| _pkgreal=HTTP-Thin
 | |
| pkgver=0.006
 | |
| pkgrel=0
 | |
| pkgdesc="Thin Wrapper around HTTP::Tiny to play nice with HTTP::Message"
 | |
| url="https://metacpan.org/release/HTTP-Thin/"
 | |
| arch="noarch"
 | |
| license="GPL-1.0-or-later OR Artistic-1.0-Perl"
 | |
| depends="
 | |
| 	perl perl-class-method-modifiers perl-hash-multivalue
 | |
| 	perl-http-message perl-safe-isa
 | |
| 	"
 | |
| subpackages="$pkgname-doc"
 | |
| source="https://cpan.metacpan.org/authors/id/P/PE/PERIGRIN/HTTP-Thin-$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="
 | |
| 634205dfc81030c0b264cc82589d50984a7d2710144a5b7fe9134ea49fa8195155e6ec99a462bfb0b37a2c8d4db9af4defa626f06a3287a1548078172b97573e  HTTP-Thin-0.006.tar.gz
 | |
| "
 |