pantry/projects/yasm.tortall.net/package.yml
2023-10-01 20:41:57 -04:00

32 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