1
0
forked from ports/contrib

p5-cpan-distnameinfo: initial import

This commit is contained in:
Alan Mizrahi 2016-03-08 15:58:01 +09:00
parent c4202e816b
commit 231c0caf9f
3 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,15 @@
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/5.22/
drwxr-xr-x root/root usr/lib/perl5/site_perl/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.22/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.22/CPAN/
-r--r--r-- root/root usr/lib/perl5/site_perl/5.22/CPAN/DistnameInfo.pm
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.22/linux-thread-multi/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.22/linux-thread-multi/auto/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.22/linux-thread-multi/auto/CPAN/
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/CPAN::DistnameInfo.3pm.gz

View File

@ -0,0 +1 @@
06bc803c0e4fb7735ddc7282163f1cc3 CPAN-DistnameInfo-0.12.tar.gz

View File

@ -0,0 +1,20 @@
# Description: Extract distribution name and version from a distribution filename
# URL: http://github.com/gbarr/CPAN-DistnameInfo
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
# Depends on: perl
name=p5-cpan-distnameinfo
version=0.12
release=1
source=(http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/CPAN-DistnameInfo-0.12.tar.gz)
build(){
cd CPAN-DistnameInfo-$version
perl Makefile.PL
make OPTIMIZE="$CFLAGS" DESTDIR="$PKG" install
find "$PKG" -depth \
-type f \( -name .packlist -o -name \*.bs -o -name autosplit.ix -o -name perllocal.pod \) -delete , \
-type d -empty -exec rmdir {} +
}