mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			39 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Automatically generated by apkbuild-cpan, template 4
 | |
| # Contributor: Milan P. Stanić <mps@arvanta.net>
 | |
| # Maintainer: Milan P. Stanić <mps@arvanta.net>
 | |
| pkgname=perl-xml-rpc
 | |
| pkgver=2.1
 | |
| pkgrel=0
 | |
| #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
 | |
| _pkgreal=XML-RPC
 | |
| pkgdesc="Pure Perl implementation for an XML-RPC client and server"
 | |
| url="https://metacpan.org/release/XML-RPC/"
 | |
| arch="noarch"
 | |
| license="GPL-1.0-or-later OR Artistic-1.0-Perl"
 | |
| depends="perl perl-libwww perl-xml-treepp perl-lwp-protocol-https"
 | |
| subpackages="$pkgname-doc"
 | |
| source="https://cpan.metacpan.org/authors/id/C/CA/CAVAC/XML-RPC-$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="
 | |
| 9aefdc1b816165224c91b3018bbb7a275b3c3c9151c4804cf6ccf55e90d20d0bf763341e8704f0e0ea2ad9716c757177628539c4af126894f0175457976091e5  XML-RPC-2.1.tar.gz
 | |
| "
 |