mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
parent
286947912d
commit
cd7aac3dc2
3 changed files with 56 additions and 0 deletions
22
projects/pyyaml.org/package.yml
Normal file
22
projects/pyyaml.org/package.yml
Normal file
|
@ -0,0 +1,22 @@
|
|||
distributable:
|
||||
url: http://pyyaml.org/download/libyaml/yaml-{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: yaml/libyaml/tags
|
||||
# strip: /^v/
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |
|
||||
./configure --prefix="{{prefix}}"
|
||||
make --jobs {{hw.concurrency}} install
|
||||
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
script: |
|
||||
cc test.c -lyaml
|
||||
./a.out
|
8
projects/pyyaml.org/test.c
Normal file
8
projects/pyyaml.org/test.c
Normal file
|
@ -0,0 +1,8 @@
|
|||
#include <yaml.h>
|
||||
|
||||
int main() {
|
||||
yaml_parser_t parser;
|
||||
yaml_parser_initialize(&parser);
|
||||
yaml_parser_delete(&parser);
|
||||
return 0;
|
||||
}
|
26
projects/ruby-lang.org/package.yml
Normal file
26
projects/ruby-lang.org/package.yml
Normal file
|
@ -0,0 +1,26 @@
|
|||
distributable:
|
||||
url: https://cache.ruby-lang.org/pub/ruby/{{version.marketing}}/ruby-{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
- 3.1.2
|
||||
- 2.7.6
|
||||
#TODO github: ruby/ruby/tags
|
||||
|
||||
dependencies:
|
||||
openssl.org: ^1.1
|
||||
pyyaml.org: ^0.2
|
||||
zlib.net: 1
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
freedesktop.org/pkg-config: ^0.29
|
||||
gnu.org/gettext: ^0.21
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
script: |
|
||||
./configure --prefix="{{prefix}}"
|
||||
make --jobs {{hw.concurrency}} install
|
||||
|
||||
test:
|
||||
ruby -e 'puts "Hello World!"'
|
Loading…
Reference in a new issue