From 18e6333580404aedf6b0bab4e5067bc11a83403c Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Sat, 31 Aug 2019 10:40:26 +0000 Subject: [PATCH] p5-module-implementation: initial commit, version 0.09 --- p5-module-implementation/.footprint | 17 +++++++++++++++++ p5-module-implementation/.signature | 5 +++++ p5-module-implementation/Pkgfile | 24 ++++++++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 p5-module-implementation/.footprint create mode 100644 p5-module-implementation/.signature create mode 100644 p5-module-implementation/Pkgfile diff --git a/p5-module-implementation/.footprint b/p5-module-implementation/.footprint new file mode 100644 index 000000000..0bbe1d7a0 --- /dev/null +++ b/p5-module-implementation/.footprint @@ -0,0 +1,17 @@ +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.28/ +drwxr-xr-x root/root usr/lib/perl5/5.28/linux-thread-multi/ +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/Implementation.pm +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/ +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/Module/ +drwxr-xr-x root/root usr/lib/perl5/site_perl/5.28/linux-thread-multi/auto/Module/Implementation/ +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/Module::Implementation.3pm.gz diff --git a/p5-module-implementation/.signature b/p5-module-implementation/.signature new file mode 100644 index 000000000..08821877b --- /dev/null +++ b/p5-module-implementation/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF38BN0F01U5svwo/pwN6ZRx5obDNFNql+A92bu1AfntCMWfeICaXvVUiRyMkfTz6Ga1MCyt68sl0ag50FTZKb5AE= +SHA256 (Pkgfile) = de8bc03801a289e5a0ee40f89a3f672824e74b71d57f8bf134a23ee50ef0a8ef +SHA256 (.footprint) = e51f9fa14dc352f66eb41a1db76589d440074325958eebabeab52aee6a137240 +SHA256 (Module-Implementation-0.09.tar.gz) = c15f1a12f0c2130c9efff3c2e1afe5887b08ccd033bd132186d1e7d5087fd66d diff --git a/p5-module-implementation/Pkgfile b/p5-module-implementation/Pkgfile new file mode 100644 index 000000000..66eff36bd --- /dev/null +++ b/p5-module-implementation/Pkgfile @@ -0,0 +1,24 @@ +# Description: Loads one of several alternate underlying implementations for a module +# URL: https://cpan.metacpan.org/dist/Module-Implementation/ +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: p5-try-tiny p5-module-runtime + +name=p5-module-implementation +version=0.09 +release=1 +source=(https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Module-Implementation-$version.tar.gz) + +build() { + cd Module-Implementation-$version + export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL="--skipdeps" \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='"$PKG"'" \ + PERL_MB_OPT="--installdirs vendor --destdir '"$PKG"'" \ + MODULEBUILDRC=/dev/null + perl Makefile.PL + make + make DESTDIR=$PKG install + find $PKG -name .packlist -o \ + -name perllocal.pod -o \ + -name README -o \ + -name '*.bs' | xargs rm +}