pantry/projects/cpanmin.us/package.yml

35 lines
663 B
YAML
Raw Normal View History

2023-01-31 00:12:24 +03:00
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