p5-module-scandeps: initial commit, v1.29

This commit is contained in:
Alexandr Savca 2020-11-22 12:43:57 +02:00
parent 213582158b
commit e7e8fc57ec
3 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,17 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-r-xr-xr-x root/root usr/bin/scandeps.pl
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/Module/
-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Module/ScanDeps.pm
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/Module/ScanDeps/
-r--r--r-- root/root usr/lib/perl5/site_perl/5.28/Module/ScanDeps/Cache.pm
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-r--r--r-- root/root usr/share/man/man1/scandeps.pl.1pm.gz
drwxr-xr-x root/root usr/share/man/man3/
-r--r--r-- root/root usr/share/man/man3/Module::ScanDeps.3pm.gz

View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF36gEkWmYfdUisFZ/gllECSJ1RWCj2gOMR0LetMT5TfGRhhUOc28dE4YqVYGvWkCJsLg1DyefVNulACGI582zwww=
SHA256 (Pkgfile) = 6604152b5abb903b4f86f28210f98ab68d583248485edf2309903f503ff7ff19
SHA256 (.footprint) = 08cbb3e9a9aab6e3f803e9f68a40b293cb401c45b43a005b143ffca294311c0d
SHA256 (Module-ScanDeps-1.29.tar.gz) = eeb0ce91353a2f6267a64af17b20d8de8f7acff62e95b608dea2480300b8884e

View File

@ -0,0 +1,27 @@
# Description: Recursively scan Perl code for dependencies
# URL: https://metacpan.org/pod/Module::ScanDeps
# Maintainer: Alexandr Savca, alexandrsavca89 at gmail dot com
name=p5-module-scandeps
version=1.29
release=1
source=(https://cpan.metacpan.org/authors/id/R/RS/RSCHUPP/Module-ScanDeps-${version}.tar.gz)
build() {
cd Module-ScanDeps-$version
perl Makefile.PL
make
make install DESTDIR=$PKG
# remove perlcrap
find $PKG -name perllocal.pod \
-o -name "*.bs" \
-o -name .packlist \
-o -name autosplit.ix \
| xargs rm -f
# remove empty dirs
find $PKG -depth -type d -empty -delete
}