This commit is contained in:
Max Howell 2023-01-30 16:12:24 -05:00
parent 25affb456a
commit b920bd314d

View file

@ -0,0 +1,34 @@
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