mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
pyyaml.org/libyaml (#1778)
* new file: projects/pyyaml.org/libyaml/fixture.c new file: projects/pyyaml.org/libyaml/package.yml * should work without `-L` (`tea` should handle) --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
939e4b36ac
commit
6e6422de35
8
projects/pyyaml.org/libyaml/fixture.c
Normal file
8
projects/pyyaml.org/libyaml/fixture.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;
|
||||
}
|
25
projects/pyyaml.org/libyaml/package.yml
Normal file
25
projects/pyyaml.org/libyaml/package.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
distributable:
|
||||
url: https://github.com/yaml/libyaml/releases/download/{{version}}/yaml-{{version}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
github: yaml/libyaml
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
gnu.org/libtool: '*'
|
||||
gnu.org/autoconf: '*'
|
||||
script: |
|
||||
./configure $ARGS
|
||||
make --jobs {{ hw.concurrency }} install
|
||||
env:
|
||||
ARGS:
|
||||
- --prefix="{{prefix}}"
|
||||
|
||||
test:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
script:
|
||||
cc fixture.c -lyaml -o test
|
Loading…
Reference in a new issue