pantry/projects/cpanmin.us/package.yml
Max Howell b920bd314d +cpanm
2023-01-31 07:29:52 -05:00

35 lines
663 B
YAML

distributable:
url: https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/App-cpanminus-{{version.raw}}.tar.gz
strip-components: 1
versions:
github: miyagawa/cpanminus/tags
ignore:
- /^1.9/ # invalid versions in the tags for some reason
- /^1.79/ # ^^
- /^1.71/ # ^^ like wtf?
dependencies:
perl.org: '*'
companions:
tea.xyz/gx/make: '*'
provides:
- bin/cpanm
build:
dependencies:
tea.xyz/gx/make: '*'
script: |
perl Makefile.PL INSTALL_BASE={{prefix}}
make install
fix-shebangs.ts {{prefix}}/bin/cpanm
test:
dependencies:
tea.xyz/gx/make: '*'
script:
cpanm --verbose --local-lib=./out Test::More