mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
31 lines
559 B
YAML
31 lines
559 B
YAML
distributable:
|
|
url: https://www.tortall.net/projects/yasm/releases/yasm-{{version}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://www.tortall.net/projects/yasm/releases/
|
|
match: /yasm-\d+\.\d+\.\d+\.tar\.gz/
|
|
strip:
|
|
- /yasm-/
|
|
- /.tar.gz/
|
|
|
|
build:
|
|
script: |
|
|
./configure $ARGS
|
|
make --jobs {{ hw.concurrency }} install
|
|
env:
|
|
ARGS:
|
|
- --prefix="{{prefix}}"
|
|
- --disable-python
|
|
- --disable-debug
|
|
|
|
provides:
|
|
- bin/yasm
|
|
|
|
test:
|
|
fixture: |
|
|
mov eax, 0
|
|
mov ebx, 0
|
|
int 0x80
|
|
script: |
|
|
yasm $FIXTURE
|