forked from ports/contrib
23 lines
628 B
Plaintext
23 lines
628 B
Plaintext
|
# Description: Pretty printing of data structures
|
||
|
# URL: https://metacpan.org/release/Data-Dump
|
||
|
# Maintainer: Tim Biermann, tbier at posteo dot det
|
||
|
# Depends on:
|
||
|
|
||
|
name=p5-data-dump
|
||
|
version=1.23
|
||
|
release=1
|
||
|
source=(https://cpan.metacpan.org/authors/id/G/GA/GAAS/Data-Dump-$version.tar.gz)
|
||
|
|
||
|
build() {
|
||
|
cd Data-Dump-$version
|
||
|
unset PERL5LIB PERL_MM_OPT PERL_MB_OPT PERL_LOCAL_LIB_ROOT
|
||
|
export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps
|
||
|
perl Makefile.PL
|
||
|
make
|
||
|
make install INSTALLDIRS=vendor DESTDIR=$PKG
|
||
|
find $PKG -name .packlist -o \
|
||
|
-name perllocal.pod -o \
|
||
|
-name README -o \
|
||
|
-name '*.bs' | xargs rm
|
||
|
}
|