mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			50 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			50 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Automatically generated by apkbuild-cpan, template 4
 | |
| # Contributor: Celeste <cielesti@protonmail.com>
 | |
| # Maintainer: Celeste <cielesti@protonmail.com>
 | |
| pkgname=perl-protocol-xmpp
 | |
| #_pkgreal is used by apkbuild-cpan to find modules at MetaCpan
 | |
| _pkgreal=Protocol-XMPP
 | |
| pkgver=0.006
 | |
| pkgrel=0
 | |
| pkgdesc="XMPP/Jabber protocol API"
 | |
| url="https://metacpan.org/release/Protocol-XMPP/"
 | |
| arch="noarch"
 | |
| license="GPL-1.0-or-later OR Artistic-1.0-Perl"
 | |
| depends="
 | |
| 	perl perl-authen-sasl perl-curry perl-future perl-mixin-event-dispatch
 | |
| 	perl-xml-libxml-sax-chunkparser perl-xml-sax
 | |
| 	"
 | |
| checkdepends="perl-test-checkdeps perl-test-fatal"
 | |
| subpackages="$pkgname-doc"
 | |
| source="https://cpan.metacpan.org/authors/id/T/TE/TEAM/Protocol-XMPP-$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
 | |
| }
 | |
| 
 | |
| doc() {
 | |
| 	local file; find "$pkgdir" -name "*.pod" | while read -r file; do
 | |
| 		amove "${file#"$pkgdir"}"
 | |
| 	done
 | |
| 	default_doc
 | |
| }
 | |
| 
 | |
| sha512sums="
 | |
| caea9726918119974bef629485a6fb9c5f0c49a74ed8f0c84414a6a370fa1a1a950297c17c111fdf085512105bc6af39cf4ebe5ce329023659b3f96d0fd1060c  Protocol-XMPP-0.006.tar.gz
 | |
| "
 |