pantry/projects/xvid.com/package.yml
2023-10-01 20:41:57 -04:00

23 lines
522 B
YAML

distributable:
url: https://downloads.xvid.com/downloads/xvidcore-{{version}}.tar.gz
strip-components: 1
versions:
url: https://downloads.xvid.com/downloads/
match: /xvidcore-\d+\.\d+\.\d+.tar.gz/
strip:
- /^xvidcore-/
- /\.tar.gz/
build:
working-directory: build/generic
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }}
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
- --disable-assembly
test: cc test.cpp -lxvidcore -o test