mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+rbenv.org/ruby-build (#5211)
* new file: projects/rbenv.org/ruby-build/package.yml * +curl * --verbose * +make * make & gcc for linux * add rpath for darwin * add $LDFLAGS * ldflags like string * companions * all of runtime deps are companions * deps
This commit is contained in:
parent
5679f9ada2
commit
6d0df44091
1 changed files with 39 additions and 0 deletions
39
projects/rbenv.org/ruby-build/package.yml
Normal file
39
projects/rbenv.org/ruby-build/package.yml
Normal file
|
@ -0,0 +1,39 @@
|
|||
distributable:
|
||||
url: git+https://github.com/rbenv/ruby-build.git
|
||||
ref: ${{version.tag}}
|
||||
|
||||
versions:
|
||||
github: rbenv/ruby-build
|
||||
|
||||
companions:
|
||||
linux:
|
||||
gnu.org/make: '*'
|
||||
gnu.org/gcc: '*'
|
||||
|
||||
dependencies:
|
||||
openssl.org: '>=1.1'
|
||||
curl.se: '*'
|
||||
gnu.org/autoconf: ^2.72
|
||||
freedesktop.org/pkg-config: '*'
|
||||
gnu.org/readline: ^8.2
|
||||
pyyaml.org/libyaml: ^0.2
|
||||
|
||||
runtime:
|
||||
env:
|
||||
darwin:
|
||||
LDFLAGS: -Wl,-rpath,{{pkgx.prefix}} $LDFLAGS
|
||||
|
||||
build:
|
||||
- make install PREFIX={{prefix}}
|
||||
|
||||
provides:
|
||||
- bin/ruby-build
|
||||
|
||||
test:
|
||||
script:
|
||||
- ruby-build --version | grep {{version.raw}}
|
||||
- ruby-build 2.7.8 $PWD/ruby-2.7.8 --verbose
|
||||
- ruby --version | grep '2.7.8'
|
||||
- ruby-build --help
|
||||
env:
|
||||
PATH: $PWD/ruby-2.7.8/bin:$PATH
|
Loading…
Reference in a new issue