2023-01-11 05:22:53 +03:00
|
|
|
distributable:
|
|
|
|
# url: https://github.com/jart/blink/archive/refs/tags/{{version}}.tar.gz currently no tags/releases
|
|
|
|
url: https://github.com/jart/blink/archive/13df12124d69aba8a7f74803715af36ed629b349.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/blink
|
|
|
|
- bin/blinkenlights
|
|
|
|
|
|
|
|
versions:
|
|
|
|
# github: jart/blink/tags FIXME once they start tagging/releasing
|
|
|
|
- 0.0.0
|
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
2023-04-04 02:10:32 +03:00
|
|
|
gnu.org/make: '*'
|
2023-01-11 05:22:53 +03:00
|
|
|
script: |
|
2023-04-04 02:10:32 +03:00
|
|
|
mkdir -p "{{prefix}}/bin"
|
2023-01-11 05:22:53 +03:00
|
|
|
make -j {{hw.concurrency}}
|
2023-04-04 02:10:32 +03:00
|
|
|
cp o/blink/blink{,enlights} "{{prefix}}/bin"
|
2023-01-11 05:22:53 +03:00
|
|
|
test: |
|
|
|
|
make check
|
|
|
|
make check2
|
|
|
|
make emulates
|
|
|
|
|
|
|
|
test:
|
|
|
|
dependencies:
|
|
|
|
curl.se: '*'
|
|
|
|
script: |
|
|
|
|
curl -O https://raw.githubusercontent.com/jart/blink/13df12124d69aba8a7f74803715af36ed629b349/third_party/cosmo/tinyhello.elf
|
|
|
|
blink tinyhello.elf
|