pantry/projects/perl.org/package.yml
2022-08-01 21:08:18 -04:00

67 lines
1.3 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

distributable:
url: https://www.cpan.org/src/{{ version.major }}.0/perl-{{ version }}.tar.xz
strip-components: 1
versions:
github: perl/perl5/tags
ignore: /^v\d+\.\d*[13579]\.\d+$/
# ^^ perl considers odd minor versions “dev” releases
build:
dependencies:
tea.xyz/gx/make: '*'
tea.xyz/gx/cc: c99
script: |
./Configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- -d # use defaults
- -e # non interactive
- -Dprefix={{prefix}}
- -Duseshrplib
- -Duselargefiles
- -Dusethreads
# we dont want versioned, platformed prefixes
#NOTE maybe this will break something though…
- -Dprivlib={{prefix}}/lib
- -Darchlib={{prefix}}/lib
test:
script: |
perl $FIXTURE
fixture: |
print 'Perl is not an acronym, but JAPH is a Perl acronym!'
provides:
- bin/corelist
- bin/cpan
- bin/enc2xs
- bin/encguess
- bin/h2ph
- bin/h2xs
- bin/instmodsh
- bin/json_pp
- bin/libnetcfg
- bin/perl
- bin/perlbug
- bin/perldoc
- bin/perlivp
- bin/perlthanks
- bin/piconv
- bin/pl2pm
- bin/pod2html
- bin/pod2man
- bin/pod2text
- bin/pod2usage
- bin/podchecker
- bin/prove
- bin/ptar
- bin/ptardiff
- bin/ptargrep
- bin/shasum
- bin/splain
- bin/streamzip
- bin/xsubpp
- bin/zipdetails