1
0
forked from ports/contrib

p5-io-socket-inet6: initial import

This commit is contained in:
Danny Rawlins 2019-08-31 12:37:52 +10:00
parent 664ecd35a0
commit 2a188bf717
3 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,12 @@
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/IO/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/IO/Socket/
-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/IO/Socket/INET6.pm
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/IO::Socket::INET6.3pm.gz

View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3xtoqEAibJn/MRMYcc3+Tq9rZB6UXe2Z1xFYJfwK45eIEn6L6Xj1pZ93jD9Iw2qhs3t7miWV1b7Alfe6fIh5IAc=
SHA256 (Pkgfile) = 40727189b7e365e09dae0e1fca2e45018aec590490e4c38b929b0517146f3922
SHA256 (.footprint) = 52a726aa97e76b02af2d122fa0d7c32c08293a888d6f4793a9fc1c3bac2e2e74
SHA256 (IO-Socket-INET6-2.72.tar.gz) = 85e020fa179284125fc1d08e60a9022af3ec1271077fe14b133c1785cdbf1ebb

View File

@ -0,0 +1,35 @@
# Description: Object interface for AF_INET|AF_INET6 domain sockets
# URL: https://metacpan.org/release/IO-Socket-INET6
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: p5-socket6
name=p5-io-socket-inet6
version=2.72
release=1
source=(https://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/IO-Socket-INET6-$version.tar.gz)
build() {
cd IO-Socket-INET6-$version
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
PERL_AUTOINSTALL=--skipdeps \
PERL_MM_OPT="INSTALLDIRS=vendor" \
PERL_MB_OPT="--installdirs vendor" \
MODULEBUILDRC=/dev/null
/usr/bin/perl Makefile.PL
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 {} \;
}