2023-04-13 20:05:45 +03:00
|
|
|
distributable:
|
|
|
|
url: https://ftp.gnu.org/gnu/stow/stow-{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2023-05-01 20:14:59 +03:00
|
|
|
url: https://ftp.gnu.org/gnu/stow/
|
|
|
|
match: /stow-(\d+\.\d+(\.\d+)?)\.tar\.gz/
|
|
|
|
strip:
|
|
|
|
- /stow-/
|
|
|
|
- /.tar.gz/
|
2023-04-13 20:05:45 +03:00
|
|
|
|
|
|
|
dependencies:
|
|
|
|
perl.org: ^5.6.1
|
|
|
|
|
|
|
|
runtime:
|
|
|
|
env:
|
|
|
|
PERL5LIB: ${{prefix}}/lib/perl5
|
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
cpanmin.us: ^1
|
|
|
|
script: |
|
|
|
|
cpanm -l {{prefix}} Test::More Test::Output
|
|
|
|
./configure $ARGS
|
|
|
|
make --jobs {{ hw.concurrency }} install
|
|
|
|
|
|
|
|
fix-shebangs.ts {{prefix}}/bin/*
|
|
|
|
env:
|
|
|
|
ARGS:
|
|
|
|
- --prefix="{{prefix}}"
|
|
|
|
- --with-pmdir={{prefix}}/lib/perl{{deps.perl.org.version.major}}
|
|
|
|
PERL5LIB: ${{prefix}}/lib/perl{{deps.perl.org.version.major}}
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/stow
|
|
|
|
|
|
|
|
test: |
|
|
|
|
mkdir xyz.tea.test.d
|
|
|
|
stow -nvS xyz.tea.test.d
|