mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 10:25:05 +03:00
+gnu.org/stow (#1357)
* +gnu.org/stow Closes https://github.com/orgs/teaxyz/discussions/525
This commit is contained in:
parent
abf345ab9d
commit
1a58eaabb4
1 changed files with 37 additions and 0 deletions
37
projects/gnu.org/stow/package.yml
Normal file
37
projects/gnu.org/stow/package.yml
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
distributable:
|
||||||
|
url: https://ftp.gnu.org/gnu/stow/stow-{{version}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
versions:
|
||||||
|
- 2.3.1
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
perl.org: ^5.6.1
|
||||||
|
|
||||||
|
runtime:
|
||||||
|
env:
|
||||||
|
PERL5LIB: ${{prefix}}/lib/perl5
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
tea.xyz/gx/cc: c99
|
||||||
|
tea.xyz/gx/make: '*'
|
||||||
|
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
|
Loading…
Reference in a new issue