1
0
forked from ports/contrib

p5-socket6: initial import

This commit is contained in:
Danny Rawlins 2019-08-31 12:38:12 +10:00
parent 2a188bf717
commit 312493a614
3 changed files with 44 additions and 0 deletions

14
p5-socket6/.footprint Normal file
View File

@ -0,0 +1,14 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/perl5/
drwxr-xr-x root/root usr/lib/perl5/site_perl/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/
-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/Socket6.pm
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/Socket6/
-r-xr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/Socket6/Socket6.so
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man3/
-r--r--r-- root/root usr/share/man/man3/Socket6.3pm.gz

5
p5-socket6/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3/kuyr3CEUnxvWkylnYFl/AWZtiJMefK1echBnR0xDZWQr+IgQpICQSkGI0fRdrCjgTu4wSb8u7i9qFUm7oA2AY=
SHA256 (Pkgfile) = ec97968a9e992b9992f407c163a8b11ed476f1e1c295609d2836c87d75ee185c
SHA256 (.footprint) = 4c7cfc0f7906deef569db6de2b44ff07bdb15ab06a480c4ef783d540108da245
SHA256 (Socket6-0.29.tar.gz) = 468915fa3a04dcf6574fc957eff495915e24569434970c91ee8e4e1459fc9114

25
p5-socket6/Pkgfile Normal file
View File

@ -0,0 +1,25 @@
# Description: A getaddrinfo/getnameinfo support module
# URL: https://metacpan.org/release/Socket6
# Maintainer: Danny Rawlins, crux at romster dot me
name=p5-socket6
version=0.29
release=1
source=(http://search.cpan.org/CPAN/authors/id/U/UM/UMEMOTO/Socket6-$version.tar.gz)
build() {
cd Socket6-$version
perl Makefile.PL INSTALLDIRS=vendor
make
make DESTDIR=$PKG install
# Remove perlcrap
find $PKG -type f \( \
-name '.packlist' -or \
-name '*.bs' -or \
-name 'autosplit.ix' -or \
-name 'perllocal.pod' \) -delete
# Remove empty directories
find $PKG -depth -empty -exec rm -rf {} \;
}