aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-io-socket-inet6/APKBUILD
blob: 75ef8a430a0a4d163b234ead66f4ddef1e660198 (plain) (tree)
1
2
3
4
5
6
7
8
9




                                                      

           
                                                              
                                                
             
                                               

                               
                                       
                          
                                                                                   
                                    

           
                       

                                                                


         




                                                                
                    


           
                                         


                                                                           


                                                                                                                                                             
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=perl-io-socket-inet6
_pkgreal=IO-Socket-INET6
pkgver=2.73
pkgrel=0
pkgdesc="Object interface for AF_INET|AF_INET6 domain sockets"
url="https://metacpan.org/pod/IO::Socket::INET6"
arch="noarch"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
depends="perl perl-socket6"
makedepends="perl-module-build"
options="!check" # No ipv6 in buildozer
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"

prepare() {
	default_prepare
	export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
	perl Build.PL installdirs=vendor
}

build() {
	export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
	./Build
}

check() {
	./Build test
}

package() {
	./Build install destdir="$pkgdir"
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

sha512sums="
8d71b1fcb78b4338eb1973a2f9d1ccc539d6a6d83190b818df8ebcc43e978d7404eefedb51a7d6e0a64aa02375503325e8cd8723c7fec6dfdb277519b5a16b4b  IO-Socket-INET6-2.73.tar.gz
"