blob: d28da27b478cc71a94f1217f315e16f638abf407 (
plain)
1 # Description: A getaddrinfo/getnameinfo support module
2 # URL: https://metacpan.org/release/Socket6
3 # Maintainer: Danny Rawlins, crux at romster dot me
4
5 name=p5-socket6
6 version=0.29
7 release=1
8 source=(http://search.cpan.org/CPAN/authors/id/U/UM/UMEMOTO/Socket6-$version.tar.gz)
9
10 build() {
11 cd Socket6-$version
12 perl Makefile.PL INSTALLDIRS=vendor
13 make
14 make DESTDIR=$PKG install
15
16 # Remove perlcrap
17 find $PKG -type f \( \
18 -name '.packlist' -or \
19 -name '*.bs' -or \
20 -name 'autosplit.ix' -or \
21 -name 'perllocal.pod' \) -delete
22
23 # Remove empty directories
24 find $PKG -depth -empty -exec rm -rf {} \;
25 }
|