mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
21 lines
501 B
YAML
21 lines
501 B
YAML
|
distributable:
|
||
|
url: https://github.com/svaarala/duktape/releases/download/v{{version}}/duktape-{{version}}.tar.xz
|
||
|
strip-components: 1
|
||
|
versions:
|
||
|
github: svaarala/duktape
|
||
|
build:
|
||
|
script:
|
||
|
- make -f Makefile.sharedlibrary install
|
||
|
- make -f Makefile.cmdline
|
||
|
- mkdir -p {{prefix}}/bin
|
||
|
- install duk {{prefix}}/bin/
|
||
|
env:
|
||
|
INSTALL_PREFIX: "{{prefix}}"
|
||
|
provides:
|
||
|
- bin/duk
|
||
|
test:
|
||
|
script:
|
||
|
- duk test.js | grep "Hello World!"
|
||
|
- cc test.c -o test -lduktape -lm
|
||
|
- ./test
|